Author eryksun
Recipients docs@python, eryksun, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-03-25.07:42:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490427774.11.0.442994010342.issue29898@psf.upfronthosting.co.za>
In-reply-to
Content
I prefer the name PYTHONLEGACYWINDOWSIOENCODING for symmetry with both PYTHONIOENCODING and PYTHONLEGACYWINDOWSFSENCODING, but I suppose you changed it to make it more visually distinguished from the latter.

I discovered this issue due to the modified behavior of PYTHONIOENCODING. It's not really a disruptive change, but it looks wrong based solely on the --help text description of PYTHONIOENCODING. An alternative would be to set Py_LegacyWindowsStdioFlag in _Py_InitializeEx_Private either when PYTHONLEGACYWINDOWSSTDIO is set or when PYTHONIOENCODING isn't a case-insensitive match for "utf-8" with an optional :errors spec. That way people get exactly what they asked for, even if it's mojibake nonsense given the console's current input and output codepages.
History
Date User Action Args
2017-03-25 07:42:54eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, ezio.melotti, docs@python, zach.ware, steve.dower
2017-03-25 07:42:54eryksunsetmessageid: <1490427774.11.0.442994010342.issue29898@psf.upfronthosting.co.za>
2017-03-25 07:42:54eryksunlinkissue29898 messages
2017-03-25 07:42:54eryksuncreate