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 bapt, ezio.melotti, koobs, ncoghlan, ned.deily, vstinner
Date 2017-06-29.14:52:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498747961.94.0.0144069627817.issue30647@psf.upfronthosting.co.za>
In-reply-to
Content
I was able to fix the test_readline failure by restoring the locale based on the environment settings with `setlocale(LC_CTYPE, "")` rather than the return value from a preceding call to `setlocale(LC_CTYPE, NULL)`.

That means we can leave the runtime coercion checks enabled on *BSD systems, and if/when any given BSD variant adds working Linux-style C.UTF-8 or OS-X-style UTF-8 locales, we'll automatically start using them.
History
Date User Action Args
2017-06-29 14:52:41ncoghlansetrecipients: + ncoghlan, vstinner, ned.deily, ezio.melotti, koobs, bapt
2017-06-29 14:52:41ncoghlansetmessageid: <1498747961.94.0.0144069627817.issue30647@psf.upfronthosting.co.za>
2017-06-29 14:52:41ncoghlanlinkissue30647 messages
2017-06-29 14:52:41ncoghlancreate