Searched refs:utf8_mode (Results 1 – 13 of 13) sorted by relevance
288 config->utf8_mode = 0; in _PyPreConfig_InitCompatConfig()314 config->utf8_mode = -1; in PyPreConfig_InitPythonConfig()330 config->utf8_mode = 0; in PyPreConfig_InitIsolatedConfig()381 COPY_ATTR(utf8_mode); in preconfig_copy()421 SET_ITEM_INT(utf8_mode); in _PyPreConfig_AsDict()474 config->utf8_mode = Py_UTF8Mode; in preconfig_get_global_vars()502 COPY_FLAG(utf8_mode, Py_UTF8Mode); in preconfig_set_global_vars()590 config->utf8_mode = 0; in preconfig_init_utf8_mode()594 if (config->utf8_mode >= 0) { in preconfig_init_utf8_mode()605 config->utf8_mode = 1; in preconfig_init_utf8_mode()[all …]
1542 if (preconfig->utf8_mode) { in config_init_stdio_encoding()1598 if (preconfig->utf8_mode) { in config_init_fs_encoding()
2449 SetFlag(preconfig->utf8_mode); in make_flags()
12 if sys.flags.utf8_mode:26 if sys.flags.utf8_mode:35 if sys.flags.utf8_mode:
624 if sys.flags.utf8_mode:643 if sys.flags.utf8_mode:654 if sys.flags.utf8_mode:
114 int utf8_mode; member
328 utf8_mode=GET_DEFAULT_CONFIG,335 utf8_mode=0,
565 self.assertIn(sys.flags.utf8_mode, {0, 1, 2})
1108 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
2674 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")2694 @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled")
479 preconfig.utf8_mode = 1; in test_init_from_config()
274 .. c:member:: int utf8_mode323 preconfig.utf8_mode = 1;
448 :const:`utf8_mode` :option:`-X` ``utf8``465 and ``utf8_mode`` attribute for the new :option:`-X` ``utf8`` flag.