Lines Matching refs:coerce_c_locale
297 config->coerce_c_locale = 0; in _PyPreConfig_InitCompatConfig()
330 config->coerce_c_locale = -1; in PyPreConfig_InitPythonConfig()
397 COPY_ATTR(coerce_c_locale); in preconfig_copy()
437 SET_ITEM_INT(coerce_c_locale); in _PyPreConfig_AsDict()
678 config->coerce_c_locale = 0; in preconfig_init_coerce_c_locale()
686 if (config->coerce_c_locale < 0) { in preconfig_init_coerce_c_locale()
687 config->coerce_c_locale = 0; in preconfig_init_coerce_c_locale()
696 if (config->coerce_c_locale < 0) { in preconfig_init_coerce_c_locale()
697 config->coerce_c_locale = 1; in preconfig_init_coerce_c_locale()
705 if (config->coerce_c_locale < 0 || config->coerce_c_locale == 1) { in preconfig_init_coerce_c_locale()
708 config->coerce_c_locale = 2; in preconfig_init_coerce_c_locale()
711 config->coerce_c_locale = 0; in preconfig_init_coerce_c_locale()
778 assert(config->coerce_c_locale >= 0); in preconfig_read()
885 if (config->coerce_c_locale && !locale_coerced) { in _PyPreConfig_Read()
910 int new_coerce_c_locale = config->coerce_c_locale; in _PyPreConfig_Read()
913 config->coerce_c_locale = new_coerce_c_locale; in _PyPreConfig_Read()
972 if (config.coerce_c_locale) { in _PyPreConfig_Write()
975 config.coerce_c_locale = 0; in _PyPreConfig_Write()