Message412829
> Oh. Serhiy asked me to use LC_TIME rather than LC_CTYPE.
Since Locale*Calendar is documented as not being thread safe, __init__() could get the real default via setlocale(LC_TIME, "") when locale=None and the current LC_TIME is "C". Restore it back to "C" after getting the default. That should usually match the behavior from previous versions that called getdefaultlocale(). In cases where it differs, it's fixing a bug because the default LC_TIME is the correct default. |
|
Date |
User |
Action |
Args |
2022-02-08 10:58:48 | eryksun | set | recipients:
+ eryksun, lemburg, vstinner, serhiy.storchaka |
2022-02-08 10:58:48 | eryksun | set | messageid: <1644317928.84.0.128293031747.issue46659@roundup.psfhosted.org> |
2022-02-08 10:58:48 | eryksun | link | issue46659 messages |
2022-02-08 10:58:48 | eryksun | create | |
|