]> granicus.if.org Git - python/commit
bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868)
authorVictor Stinner <vstinner@redhat.com>
Thu, 23 Aug 2018 10:23:46 +0000 (12:23 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Aug 2018 10:23:46 +0000 (12:23 +0200)
commit89487f51b8d6ba8a55f5de0ed689e46fefe73cc9
tree8a795e9d3e3ad56988c7c4cd3baaf0b0d30826e7
parentccd99752675042bd5f67d332c5b0ed85ba1f2da3
bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868)

bpo-34170, bpo-34207: pymain_read_conf() now sets Py_UTF8Mode to
config->utf8_mode. pymain_read_conf() calls indirectly
Py_DecodeLocale() and Py_EncodeLocale() which depend on Py_UTF8Mode.
Modules/main.c