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, ned.deily, vstinner
Date 2018-09-13.12:46:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536842790.96.0.956365154283.issue34589@psf.upfronthosting.co.za>
In-reply-to
Content
Reviewing the way things are now, I don't think it's worth rearranging this yet again for 3.7 - instead, I'll just put it back the way I intended it to be (and the way the PEP describes) for 3.8.

The issue is that Victor had good reasons for moving the handling of the "PYTHONCOERCECLOCALE=warn" case to be after the low level C stdio streams were properly initialised, and retaining that aspect of the changes while still moving the C locale coercion back to the beginning of the program means changing the signature of _Py_CoerceLegacyLocale to return a stateless static string to be printed to stderr later.
History
Date User Action Args
2018-09-13 12:46:30ncoghlansetrecipients: + ncoghlan, vstinner, ned.deily
2018-09-13 12:46:30ncoghlansetmessageid: <1536842790.96.0.956365154283.issue34589@psf.upfronthosting.co.za>
2018-09-13 12:46:30ncoghlanlinkissue34589 messages
2018-09-13 12:46:30ncoghlancreate