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-11.14:28:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536676107.55.0.0269046726804.issue34589@psf.upfronthosting.co.za>
In-reply-to
Content
(The one exception to "nothing gets decoded incorrectly" is that PYTHONCOERCECLOCALE itself is always interpreted as an ASCII field: the values that it checks for are actually ASCII byte sequences, not Unicode code points.

The documentation could definitely be much clearer on that point though, as even in the PEP it's only implied by the final paragraph in https://www.python.org/dev/peps/pep-0538/#legacy-c-locale-coercion-in-the-standalone-python-interpreter-binary which is mostly talking about the fact that this particular environment variable is still checked, even if you pass the -I or -E command line options.
History
Date User Action Args
2018-09-11 14:28:27ncoghlansetrecipients: + ncoghlan, vstinner, ned.deily
2018-09-11 14:28:27ncoghlansetmessageid: <1536676107.55.0.0269046726804.issue34589@psf.upfronthosting.co.za>
2018-09-11 14:28:27ncoghlanlinkissue34589 messages
2018-09-11 14:28:27ncoghlancreate