Author vstinner
Recipients ezio.melotti, inada.naoki, vstinner, yan12125
Date 2017-01-12.13:31:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484227902.22.0.915604327534.issue29240@psf.upfronthosting.co.za>
In-reply-to
Content
Patch version 4:

* Handle PYTHONLEGACYWINDOWSFSENCODING: this env var now disables the UTF-8 mode and has the priority over -X utf8 and PYTHONUTF8
* Add an unit test on PYTHONUTF8 env var and -E cmdline option
* Add an unit test on the POSIX locale
* Fix initstdio() to handle correctly empty PYTHONIOENCODING: this bug affects Python 3.6 as well and is not directly related to the PEP 540
* Fix to handle correctly PYTHONUTF8 set to an empty string (ignore it)
* Skip an unit test in test_utf8mode which failed with the POSIX locale

Note: This patch still has the sys.argv encoding bug with locale encodings different than ASCII and UTF-8.
History
Date User Action Args
2017-01-12 13:31:42vstinnersetrecipients: + vstinner, ezio.melotti, inada.naoki, yan12125
2017-01-12 13:31:42vstinnersetmessageid: <1484227902.22.0.915604327534.issue29240@psf.upfronthosting.co.za>
2017-01-12 13:31:42vstinnerlinkissue29240 messages
2017-01-12 13:31:42vstinnercreate