[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-30 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset df738d56fe798b3586ed71775df25bf127789cf6 by Victor Stinner in branch '3.7': bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806) (GH-10813) https://github.com/python/cpython/commit/df738d56fe798b3586ed71775df25bf127789cf6 --

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-30 Thread STINNER Victor
STINNER Victor added the comment: > PYTHONCOERCECLOCALE=1 should not force C locale coercion, Python should still > check if the LC_CTYPE locale is "C". Reference: https://docs.python.org/dev/using/cmdline.html#envvar-PYTHONCOERCECLOCALE "If (...) the current locale reported for the

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10058 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 55e498058faf8c97840556f6d791c2c392732dc3 by Victor Stinner in branch 'master': bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806) https://github.com/python/cpython/commit/55e498058faf8c97840556f6d791c2c392732dc3 --

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-29 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10052 stage: -> patch review ___ Python tracker ___ ___

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-28 Thread STINNER Victor
New submission from STINNER Victor : PYTHONCOERCECLOCALE=1 should not force C locale coercion, Python should still check if the LC_CTYPE locale is "C". Bug: $ ./python -c 'import locale; print(locale.setlocale(locale.LC_CTYPE, None))' fr_FR.UTF-8 $ PYTHONCOERCECLOCALE=1 ./python -c 'import