[New-bugs-announce] [issue33824] Settign LANG=C modifies the --version behavior
Miro Hrončok
report at bugs.python.org
Sun Jun 10 15:35:37 EDT 2018
New submission from Miro Hrončok <miro at hroncok.cz>:
On 3.6, setting LANG to C did not affect the --version behavior:
$ python3.6 --version
Python 3.6.5
$ LANG=C python3.6 --version
Python 3.6.5
On 3.7.0b5 it does.
$ python3.7 --version
Python 3.7.0b5
$ LANG=C python3.7 --version
Python 3.7.0b5 (default, Jun 1 2018, 03:54:41)
[GCC 8.1.1 20180502 (Red Hat 8.1.1-1)]
My locale:
LANG=cs_CZ.utf8
LC_CTYPE="cs_CZ.utf8"
LC_NUMERIC="cs_CZ.utf8"
LC_TIME="cs_CZ.utf8"
LC_COLLATE="cs_CZ.utf8"
LC_MONETARY="cs_CZ.utf8"
LC_MESSAGES="cs_CZ.utf8"
LC_PAPER="cs_CZ.utf8"
LC_NAME="cs_CZ.utf8"
LC_ADDRESS="cs_CZ.utf8"
LC_TELEPHONE="cs_CZ.utf8"
LC_MEASUREMENT="cs_CZ.utf8"
LC_IDENTIFICATION="cs_CZ.utf8"
LC_ALL=
BTW I'm running Fedora builds of Python, where we have PEP 538 on 3.6 as well https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale
----------
messages: 319238
nosy: hroncok
priority: normal
severity: normal
status: open
title: Settign LANG=C modifies the --version behavior
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33824>
_______________________________________
More information about the New-bugs-announce
mailing list