commit | 89487f51b8d6ba8a55f5de0ed689e46fefe73cc9 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Thu Aug 23 12:23:46 2018 +0200 |
committer | GitHub <noreply@github.com> | Thu Aug 23 12:23:46 2018 +0200 |
tree | 8a795e9d3e3ad56988c7c4cd3baaf0b0d30826e7 | |
parent | ccd99752675042bd5f67d332c5b0ed85ba1f2da3 [diff] |
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.