diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-06-15 22:06:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 22:06:28 (GMT) |
commit | 6c5a4b315664f21bffc36ff6987fb4c4d1590897 (patch) | |
tree | 94fc8921373846fe5227f58619bd54eeacd0a25b /Misc/NEWS.d | |
parent | 2f9cbaa8b2190b6dfd3157ede9b6973523a3b939 (diff) | |
download | cpython-6c5a4b315664f21bffc36ff6987fb4c4d1590897.zip cpython-6c5a4b315664f21bffc36ff6987fb4c4d1590897.tar.gz cpython-6c5a4b315664f21bffc36ff6987fb4c4d1590897.tar.bz2 |
bpo-33824, bpo-32030: Fix pymain_read_conf() (GH-7712)
Fix "LC_ALL=C python3.7 -V": reset properly the command line parser
when the encoding changes after reading the Python configuration.
Fix pymain_read_conf(): use memset(0) to reset properly cmdline.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-06-15-19-39-06.bpo-33824.DfWHT3.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-06-15-19-39-06.bpo-33824.DfWHT3.rst b/Misc/NEWS.d/next/Core and Builtins/2018-06-15-19-39-06.bpo-33824.DfWHT3.rst new file mode 100644 index 0000000..fda2ea7 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-06-15-19-39-06.bpo-33824.DfWHT3.rst @@ -0,0 +1,2 @@ +Fix "LC_ALL=C python3.7 -V": reset properly the command line parser when the +encoding changes after reading the Python configuration. |