]> granicus.if.org Git - python/commit
bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806)
authorVictor Stinner <vstinner@redhat.com>
Fri, 30 Nov 2018 10:34:47 +0000 (11:34 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Nov 2018 10:34:47 +0000 (11:34 +0100)
commit55e498058faf8c97840556f6d791c2c392732dc3
treeac475e1ca2c6e45b9d9fb9414e86dc2a674b9473
parenta40700439195a119878150f4f0d425c42ca957ef
bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806)

Fix PYTHONCOERCECLOCALE=1 environment variable: only coerce the C
locale if the LC_CTYPE locale is "C".
Lib/test/test_c_locale_coercion.py
Misc/NEWS.d/next/Core and Builtins/2018-11-29-23-59-52.bpo-35336.8LOz4F.rst [new file with mode: 0644]
Python/coreconfig.c