Author vstinner
Recipients eryksun, ezio.melotti, inada.naoki, vstinner, yan12125
Date 2017-12-13.01:25:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513128301.84.0.213398074469.issue29240@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, PYTHONCOERCECLOCALE env var is read very early in main() by _Py_CoerceLegacyLocale(), it ignores -E command line option.

     * Ignoring -E and -I is safe from a security perspective, as we only use
     * the setting to turn *off* the implicit locale coercion, and anyone with
     * access to the process environment already has the ability to set
     * `LC_ALL=C` to override the C level locale settings anyway.
History
Date User Action Args
2017-12-13 01:25:02vstinnersetrecipients: + vstinner, ezio.melotti, inada.naoki, eryksun, yan12125
2017-12-13 01:25:01vstinnersetmessageid: <1513128301.84.0.213398074469.issue29240@psf.upfronthosting.co.za>
2017-12-13 01:25:01vstinnerlinkissue29240 messages
2017-12-13 01:25:01vstinnercreate