Message347521
| 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. |
|