This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan, ned.deily, vstinner
Date 2018-09-19.07:04:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
test_c_locale_coercion *did* test the -E and -I options, by running everything in isolated mode. This was only broken by Victor's changes to the test suite (which broke locale coercion in isolated mode, and hence broke the tests).

As for why PYTHONCLOCALECOERCION=0 and PYTHONCLOCALECOERCION=warn exist even though I don't actually want people to use them, it's because they're a potentially necessary debugging tool if you're seeing an issue that you suspect may be due to locale coercion working on one platform (e.g Fedora), and not working on another (e.g. CentOS 7). You can't easily hide the C.UTF-8 locale from the Python interpreter on Fedora, but you *can* tell the interpreter not to use it.

UTF-8 mode is different, as folks may want to opt in to that regardless of their current locale setting.
Date User Action Args
2018-09-19 07:04:42ncoghlansetrecipients: + ncoghlan, vstinner, ned.deily
2018-09-19 07:04:42ncoghlansetmessageid: <>
2018-09-19 07:04:42ncoghlanlinkissue34589 messages
2018-09-19 07:04:41ncoghlancreate