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 gordonmessmer
Recipients benjamin.peterson, gordonmessmer, lemburg, mattheww, ncoghlan, serhiy.storchaka
Date 2019-07-09.06:10:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562652615.47.0.934302929171.issue30755@roundup.psfhosted.org>
In-reply-to
Content
> I agree we shouldn't be aliasing C.UTF-8 to en_US.UTF-8 though

What can we do about reverting that change?  Python's current behavior causes unexpected exceptions, especially in containers.

I'm currently debugging test failures in a Python application that occur in Fedora rawhide containers.  Those containers don't have any locales installed.  The test software saves its current locale, changes the locale in order to run a test, and then restores the original.  Because Python is incorrectly reporting the original locale as "en_US", restoring the original fails.
History
Date User Action Args
2019-07-09 06:10:15gordonmessmersetrecipients: + gordonmessmer, lemburg, ncoghlan, mattheww, benjamin.peterson, serhiy.storchaka
2019-07-09 06:10:15gordonmessmersetmessageid: <1562652615.47.0.934302929171.issue30755@roundup.psfhosted.org>
2019-07-09 06:10:15gordonmessmerlinkissue30755 messages
2019-07-09 06:10:15gordonmessmercreate