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 vstinner
Recipients db3l, eryksun, guy.linton, jkloth, lukasz.langa, methane, ned.deily, paul.moore, serhiy.storchaka, steve.dower, terry.reedy, tim.golden, vstinner, xtreak, zach.ware
Date 2021-03-31.09:56:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617184617.22.0.930972214875.issue37945@roundup.psfhosted.org>
In-reply-to
Content
I wrote PR 25110 to simply skip the test if setlocale() fails. It fix the issue on Windows (I tested manually, see my comment on my PR), but it should also fix the issue on OpenBSD and any platform where getlocale() returns a locale not accepted by setlocale().

Again, don't ust getlocale(category) but setlocale(category, None).
History
Date User Action Args
2021-03-31 09:56:57vstinnersetrecipients: + vstinner, terry.reedy, paul.moore, db3l, tim.golden, jkloth, ned.deily, methane, guy.linton, lukasz.langa, zach.ware, serhiy.storchaka, eryksun, steve.dower, xtreak
2021-03-31 09:56:57vstinnersetmessageid: <1617184617.22.0.930972214875.issue37945@roundup.psfhosted.org>
2021-03-31 09:56:57vstinnerlinkissue37945 messages
2021-03-31 09:56:57vstinnercreate