Home
last modified time | relevance | path

Searched refs:utf8_mode (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/
D_bootlocale.py12 if sys.flags.utf8_mode:
26 if sys.flags.utf8_mode:
35 if sys.flags.utf8_mode:
Dlocale.py620 if sys.flags.utf8_mode:
639 if sys.flags.utf8_mode:
650 if sys.flags.utf8_mode:
/external/python/cpython3/Modules/
Dmain.c1463 COPY_FLAG(utf8_mode, Py_UTF8Mode); in _PyCoreConfig_GetGlobalConfig()
1497 Py_UTF8Mode = config->utf8_mode; in _PyCoreConfig_SetGlobalConfig()
1893 config->utf8_mode = 1; in config_init_utf8_mode()
1896 config->utf8_mode = 0; in config_init_utf8_mode()
1903 config->utf8_mode = 1; in config_init_utf8_mode()
1911 config->utf8_mode = 1; in config_init_utf8_mode()
1914 config->utf8_mode = 0; in config_init_utf8_mode()
2041 config->utf8_mode = 0; in pymain_read_conf_impl()
2099 int init_utf8_mode = config->utf8_mode; in pymain_read_conf()
2112 Py_UTF8Mode = config->utf8_mode; in pymain_read_conf()
[all …]
/external/python/cpython3/Include/
Dpystate.h46 int utf8_mode; /* PYTHONUTF8, -X utf8; -1 means unknown */ member
87 .utf8_mode = -1, \
/external/python/cpython3/Programs/
D_testembed.c465 config.utf8_mode = 1; in test_init_from_config()
554 config.utf8_mode = 0; in test_init_isolated()
/external/python/cpython3/Python/
Dpylifecycle.c1622 interp->core_config.utf8_mode) in initfsencoding()
1904 if (interp->core_config.utf8_mode) { in init_sys_streams()
/external/python/cpython3/Lib/test/
Dtest_sys.py538 self.assertIn(sys.flags.utf8_mode, {0, 1, 2})
Dtest_builtin.py1025 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
Dtest_io.py2631 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
2651 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
/external/python/cpython3/Doc/library/
Dsys.rst341 :const:`utf8_mode` :option:`-X` ``utf8``
358 and ``utf8_mode`` attribute for the new :option:`-X` ``utf8`` flag.