Searched refs:coerce_c_locale (Results 1 – 7 of 7) sorted by relevance
/third_party/python/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 | 349 coerce_c_locale=GET_DEFAULT_CONFIG, 359 coerce_c_locale=0,
|
/third_party/python/Python/ |
D | preconfig.c | 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() [all …]
|
D | pylifecycle.c | 392 const char *coerce_c_locale; in _Py_SetLocaleFromEnv() local 423 coerce_c_locale = getenv("PYTHONCOERCECLOCALE"); in _Py_SetLocaleFromEnv() 424 if (coerce_c_locale == NULL || strcmp(coerce_c_locale, "0") != 0) { in _Py_SetLocaleFromEnv()
|
/third_party/python/Include/cpython/ |
D | initconfig.h | 81 int coerce_c_locale; member
|
/third_party/python/Programs/ |
D | _testembed.c | 1026 preconfig.coerce_c_locale = 1; in test_init_dont_configure_locale()
|
/third_party/python/Doc/c-api/ |
D | init_config.rst | 259 If equals to 0, set :c:member:`~PyPreConfig.coerce_c_locale` and 266 .. c:member:: int coerce_c_locale
|