diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-20 15:16:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-20 15:16:38 (GMT) |
commit | 0f72147ce2b3d65235b41eddc6a57be40237b5c7 (patch) | |
tree | ffab92ed1baf4ff593145661b513e18cc7c8bb88 /Parser | |
parent | 522ccef8690970fc4f78f51a3adb995f2547871a (diff) | |
download | cpython-0f72147ce2b3d65235b41eddc6a57be40237b5c7.zip cpython-0f72147ce2b3d65235b41eddc6a57be40237b5c7.tar.gz cpython-0f72147ce2b3d65235b41eddc6a57be40237b5c7.tar.bz2 |
bpo-36763: Fix _PyRuntime.preconfig.coerce_c_locale (GH-13444)
_PyRuntime.preconfig.coerce_c_locale can now be used to
check if the C locale has been coerced.
* Fix _Py_LegacyLocaleDetected(): don't attempt to coerce the
C locale if LC_ALL environment variable is set. Add 'warn'
parameter: emit_stderr_warning_for_legacy_locale() must not
the LC_ALL env var.
* _PyPreConfig_Write() sets coerce_c_locale to 0 if
_Py_CoerceLegacyLocale() fails.
Diffstat (limited to 'Parser')
0 files changed, 0 insertions, 0 deletions