[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: Ned: I let you decide if this bug should be backported to 3.7.0 final or not. I would prefer to see this fix in 3.7.0, since Py_Main() refactoring was complex and maybe this bug hides another bug. The memset() is safe and make the code more reliable. --

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 046da1669598d6112d0a6fb056081f3eb5a4d4e7 by Miss Islington (bot) in branch '3.7': bpo-33824, bpo-32030: Fix pymain_read_conf() (GH-7712) https://github.com/python/cpython/commit/046da1669598d6112d0a6fb056081f3eb5a4d4e7 -- nosy: +miss-i

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7342 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6c5a4b315664f21bffc36ff6987fb4c4d1590897 by Victor Stinner in branch 'master': bpo-33824, bpo-32030: Fix pymain_read_conf() (GH-7712) https://github.com/python/cpython/commit/6c5a4b315664f21bffc36ff6987fb4c4d1590897 -- ___

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7326 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: The bug is a regression caused by the PEP 540 (UTF-8 Mode) and my work to rewrite Py_Main(). My PR 7712 fixes the bug. -- ___ Python tracker ___

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread Jakub Wilk
Jakub Wilk added the comment: First bad commit is: 9454060e84a669dde63824d9e2fcaf295e34f687 (bpo-29240, bpo-32030: Py_Main() re-reads config if encoding changes) -- nosy: +jwilk, vstinner ___ Python tracker

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-10 Thread Ned Deily
Ned Deily added the comment: Odd. I see the same behavior with the python.org macOS builds so it's not just Fedora. -- nosy: +ned.deily ___ Python tracker ___ ___

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-10 Thread Miro Hrončok
New submission from Miro Hrončok : 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