[issue33405] PYTHONCOERCECLOCALE no longer being respected
STINNER Victor
report at bugs.python.org
Wed May 2 03:58:59 EDT 2018
STINNER Victor <vstinner at redhat.com> added the comment:
I cannot reproduce the issue with the future Python 3.7 beta4:
vstinner at apu$ PYTHONCOERCECLOCALE=0 LANG=C ./python -X utf8=0 -c "import sys; print(sys.stdin.encoding)"
ANSI_X3.4-1968
vstinner at apu$ LANG=C ./python -X utf8=0 -c "import sys; print(sys.stdin.encoding)"
UTF-8
vstinner at apu$ ./python
Python 3.7.0b3+ (heads/3.7:887b5f8fc6, May 2 2018, 09:54:18)
[GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
The master branch works also as expected.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33405>
_______________________________________
More information about the Python-bugs-list
mailing list