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 vstinner
Recipients ncoghlan, ned.deily, vstinner
Date 2018-09-11.23:51:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Example of C locale coercion with Python 3.7:

$ env -i PYTHONCOERCECLOCALE=0 ./python -X utf8=0 -c 'import sys; print(ascii(sys.argv[1]))' 'hé'

$ env -i PYTHONCOERCECLOCALE=1 ./python -X utf8=0 -c 'import sys; print(ascii(sys.argv[1]))' 'hé'

It works as expected no? What's wrong with the current implementation according to you, Nick?
Date User Action Args
2018-09-11 23:51:13vstinnersetrecipients: + vstinner, ncoghlan, ned.deily
2018-09-11 23:51:13vstinnersetmessageid: <>
2018-09-11 23:51:13vstinnerlinkissue34589 messages
2018-09-11 23:51:13vstinnercreate