Searched refs:coerce_c_locale (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_c_locale_coercion.py | 289 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 …]
|
D | test_embed.py | 326 coerce_c_locale=GET_DEFAULT_CONFIG, 336 coerce_c_locale=0,
|
/external/python/cpython3/Python/ |
D | preconfig.c | 290 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 …]
|
D | pylifecycle.c | 382 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/ |
D | initconfig.h | 81 int coerce_c_locale; member
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 1014 preconfig.coerce_c_locale = 1; in test_init_dont_configure_locale()
|
/external/python/cpython3/Doc/c-api/ |
D | init_config.rst | 237 :c:member:`coerce_c_locale` and :c:member:`coerce_c_locale_warn` to 0. 239 .. c:member:: int coerce_c_locale
|