Home
last modified time | relevance | path

Searched refs:coerce_c_locale (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_c_locale_coercion.py289 coerce_c_locale, argument
321 if coerce_c_locale is not None:
322 base_var_dict["PYTHONCOERCECLOCALE"] = coerce_c_locale
326 PYTHONCOERCECLOCALE=coerce_c_locale):
351 PYTHONCOERCECLOCALE=coerce_c_locale):
363 self._check_c_locale_coercion("utf-8", "utf-8", coerce_c_locale=None)
369 self._check_c_locale_coercion("utf-8", "utf-8", coerce_c_locale=setting)
374 coerce_c_locale="warn",
382 coerce_c_locale="0",
387 coerce_c_locale="0",
[all …]
Dtest_embed.py326 coerce_c_locale=GET_DEFAULT_CONFIG,
336 coerce_c_locale=0,
/external/python/cpython3/Python/
Dpreconfig.c290 config->coerce_c_locale = 0; in _PyPreConfig_InitCompatConfig()
313 config->coerce_c_locale = -1; in PyPreConfig_InitPythonConfig()
380 COPY_ATTR(coerce_c_locale); in preconfig_copy()
420 SET_ITEM_INT(coerce_c_locale); in _PyPreConfig_AsDict()
661 config->coerce_c_locale = 0; in preconfig_init_coerce_c_locale()
669 if (config->coerce_c_locale < 0) { in preconfig_init_coerce_c_locale()
670 config->coerce_c_locale = 0; in preconfig_init_coerce_c_locale()
679 if (config->coerce_c_locale < 0) { in preconfig_init_coerce_c_locale()
680 config->coerce_c_locale = 1; in preconfig_init_coerce_c_locale()
688 if (config->coerce_c_locale < 0 || config->coerce_c_locale == 1) { in preconfig_init_coerce_c_locale()
[all …]
Dpylifecycle.c382 const char *coerce_c_locale; in _Py_SetLocaleFromEnv() local
413 coerce_c_locale = getenv("PYTHONCOERCECLOCALE"); in _Py_SetLocaleFromEnv()
414 if (coerce_c_locale == NULL || strcmp(coerce_c_locale, "0") != 0) { in _Py_SetLocaleFromEnv()
/external/python/cpython3/Include/cpython/
Dinitconfig.h81 int coerce_c_locale; member
/external/python/cpython3/Programs/
D_testembed.c1014 preconfig.coerce_c_locale = 1; in test_init_dont_configure_locale()
/external/python/cpython3/Doc/c-api/
Dinit_config.rst237 :c:member:`coerce_c_locale` and :c:member:`coerce_c_locale_warn` to 0.
239 .. c:member:: int coerce_c_locale