bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) (GH-8870) · python/cpython@80a0eba · GitHub
Skip to content

Commit 80a0eba

Browse files
authored
bpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) (GH-8870)
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)
1 parent 0420826 commit 80a0eba

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Modules/main.c

Lines changed: 6 additions & 1 deletion

0 commit comments

Comments
 (0)