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-13.18:50:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

The UTF-8 Mode has the same behavior: PYTHONUTF8 env var is ignored when using -E, but enabled by the C locale: you can use -X utf8=0 in that case to ensure that the UTF-8 Mode is disabled.

I wanted to propose you to add a new -X option, ex: -X coerce_c_locale=0, which would have the priority over the environment variable. I'm not a big fan of env vars, it's not always convenient to use them. I prefer an env var, but both are even better :-)
Date User Action Args
2018-09-13 18:50:29vstinnersetrecipients: + vstinner, ncoghlan, ned.deily
2018-09-13 18:50:29vstinnersetmessageid: <>
2018-09-13 18:50:29vstinnerlinkissue34589 messages
2018-09-13 18:50:29vstinnercreate