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.15:22:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536852124.17.0.956365154283.issue34589@psf.upfronthosting.co.za>
In-reply-to
Content
Alternate PR is up at https://github.com/python/cpython/pull/9257

There's one setting that remains in CoreConfig: "warn_on_c_locale", which _Py_UnixMain also uses to decide whether or not to actually emit the passed in locale coercion warning.

The coercion warning information itself moves out of CoreConfig, and into the private _PyMain helper struct.

The signature of _Py_CoerceLegacyLocale changed to both return an integer indicating whether or not coercion took place, as well as supporting two output variables that allow the display of the coercion warning message to be deferred (or skipped entirely).
History
Date User Action Args
2018-09-13 15:22:04ncoghlansetrecipients: + ncoghlan, vstinner, ned.deily
2018-09-13 15:22:04ncoghlansetmessageid: <1536852124.17.0.956365154283.issue34589@psf.upfronthosting.co.za>
2018-09-13 15:22:04ncoghlanlinkissue34589 messages
2018-09-13 15:22:04ncoghlancreate