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, vstinner
Date 2018-09-13.13:42:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536846129.03.0.956365154283.issue34639@psf.upfronthosting.co.za>
In-reply-to
Content
For the PYTHONCOERCECLOCALE=warn case, it turns out that my preferred approach to implementing bpo-34589 also naturally ends up respecting -I and -E for that (i.e. supplying -I or -E will suppressed the warning).

However, my upcoming PR for that also reinstates and expands on my original comment that explained why it was valuable to support "PYTHONCOERCECLOCALE=0 python3 -E ..." and "PYTHONCOERCECLOCALE=0 python3 -I ...": so you can readily reproduce the way that locale coercion behaves on a platform *without* a suitable target locale (e.g. CentOS 7), even if your current platform actually does have such a locale available (e.g. Fedora).
History
Date User Action Args
2018-09-13 13:42:09ncoghlansetrecipients: + ncoghlan, vstinner
2018-09-13 13:42:09ncoghlansetmessageid: <1536846129.03.0.956365154283.issue34639@psf.upfronthosting.co.za>
2018-09-13 13:42:09ncoghlanlinkissue34639 messages
2018-09-13 13:42:08ncoghlancreate