Searched refs:warn_default_encoding (Results 1 – 14 of 14) sorted by relevance
172 COPY_ATTR(warn_default_encoding); in _PyPreCmdline_SetConfig()265 cmdline->warn_default_encoding = 1; in _PyPreCmdline_Read()271 assert(cmdline->warn_default_encoding >= 0); in _PyPreCmdline_Read()
613 assert(config->warn_default_encoding >= 0); in config_check_consistency()712 config->warn_default_encoding = 0; in _PyConfig_InitCompatConfig()925 COPY_ATTR(warn_default_encoding); in _PyConfig_Copy()1027 SET_ITEM_INT(warn_default_encoding); in _PyConfig_AsDict()1292 GET_UINT(warn_default_encoding); in _PyConfig_FromDict()
2608 SetFlag(config->warn_default_encoding); in set_flags_from_config()
105 int warn_default_encoding; /* -X warn_default_encoding and PYTHONWARNDEFAULTENCODING */ member
159 int warn_default_encoding; member
213 if (sys.flags.warn_default_encoding and
59 if sys.flags.warn_default_encoding:
534 if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) { in _io_text_encoding_impl()
1090 if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) { in _io_TextIOWrapper___init___impl()
477 * ``-X warn_default_encoding`` issues a :class:`EncodingWarning` when the510 The ``-X warn_default_encoding`` option.
405 warn_default_encoding`` option, :envvar:`PYTHONWARNDEFAULTENCODING`
147 the ``-X warn_default_encoding`` command line option or set the205 :data:`sys.flags.warn_default_encoding <sys.flags>` is true and *encoding*
699 It is emitted when :data:`sys.flags.warn_default_encoding <sys.flags>`702 ``-X warn_default_encoding`` option and :envvar:`PYTHONWARNDEFAULTENCODING`
590 .. c:member:: int warn_default_encoding