STINNER Victor <vstin...@redhat.com> added the comment:
I wrote PR 8867 but it doesn't fix all cases, so I abandonned it. Then I wrote PR 8868 which sets Py_UTF8Mode in pymain_read_conf() and should fix the issue. The root issue is that we have C functions which depend on the global configuration variables like Py_UTF8Mode :-( ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34207> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com