Searched refs:utf8_mode (Results 1 – 10 of 10) sorted by relevance
12 if sys.flags.utf8_mode:26 if sys.flags.utf8_mode:35 if sys.flags.utf8_mode:
620 if sys.flags.utf8_mode:639 if sys.flags.utf8_mode:650 if sys.flags.utf8_mode:
1463 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 …]
46 int utf8_mode; /* PYTHONUTF8, -X utf8; -1 means unknown */ member87 .utf8_mode = -1, \
465 config.utf8_mode = 1; in test_init_from_config()554 config.utf8_mode = 0; in test_init_isolated()
1622 interp->core_config.utf8_mode) in initfsencoding()1904 if (interp->core_config.utf8_mode) { in init_sys_streams()
538 self.assertIn(sys.flags.utf8_mode, {0, 1, 2})
1025 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
2631 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")2651 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
341 :const:`utf8_mode` :option:`-X` ``utf8``358 and ``utf8_mode`` attribute for the new :option:`-X` ``utf8`` flag.