Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Aug 23, 2018

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.

(cherry picked from commit 89487f5)

https://bugs.python.org/issue34207

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.

(cherry picked from commit 89487f5)
@vstinner vstinner changed the title |3.7] bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) Aug 23, 2018
@vstinner vstinner changed the title bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) bpo-34207: Fix pymain_read_conf() for UTF-8 Mode Aug 23, 2018
@vstinner vstinner changed the title bpo-34207: Fix pymain_read_conf() for UTF-8 Mode [3.7] bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) Aug 23, 2018
@vstinner vstinner merged commit 80a0eba into python:3.7 Aug 23, 2018
@vstinner vstinner deleted the 3.7 branch August 23, 2018 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants