Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.7] bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) #8870

Merged
merged 1 commit into from
Aug 23, 2018
Merged

[3.7] bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) #8870

merged 1 commit into from
Aug 23, 2018

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