Home
last modified time | relevance | path

Searched refs:warn_default_encoding (Results 1 – 14 of 14) sorted by relevance

/third_party/python/Python/
Dpreconfig.c172 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()
Dinitconfig.c613 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()
Dsysmodule.c2608 SetFlag(config->warn_default_encoding); in set_flags_from_config()
/third_party/python/Include/internal/
Dpycore_initconfig.h105 int warn_default_encoding; /* -X warn_default_encoding and PYTHONWARNDEFAULTENCODING */ member
/third_party/python/Include/cpython/
Dinitconfig.h159 int warn_default_encoding; member
/third_party/python/Lib/
Dfileinput.py213 if (sys.flags.warn_default_encoding and
D_pyio.py59 if sys.flags.warn_default_encoding:
/third_party/python/Modules/_io/
D_iomodule.c534 if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) { in _io_text_encoding_impl()
Dtextio.c1090 if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) { in _io_TextIOWrapper___init___impl()
/third_party/python/Doc/using/
Dcmdline.rst477 * ``-X warn_default_encoding`` issues a :class:`EncodingWarning` when the
510 The ``-X warn_default_encoding`` option.
/third_party/python/Misc/NEWS.d/
D3.10.0a7.rst405 warn_default_encoding`` option, :envvar:`PYTHONWARNDEFAULTENCODING`
/third_party/python/Doc/library/
Dio.rst147 the ``-X warn_default_encoding`` command line option or set the
205 :data:`sys.flags.warn_default_encoding <sys.flags>` is true and *encoding*
/third_party/python/Doc/whatsnew/
D3.10.rst699 It is emitted when :data:`sys.flags.warn_default_encoding <sys.flags>`
702 ``-X warn_default_encoding`` option and :envvar:`PYTHONWARNDEFAULTENCODING`
/third_party/python/Doc/c-api/
Dinit_config.rst590 .. c:member:: int warn_default_encoding