[issue46659] Deprecate locale.getdefaultlocale() function

STINNER Victor report at bugs.python.org
Tue Feb 8 05:26:06 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

> I think calendar.Locale*Calendar should try the LC_CTYPE locale if LC_TIME is "C", i.e. (None, None). Otherwise, it's introducing new default behavior. For example, with LC_ALL set to "ru_RU.utf8": (...)

Oh. Serhiy asked me to use LC_TIME rather than LC_CTYPE.

See also my example in the PR:
https://github.com/python/cpython/pull/31166#issuecomment-1030887394

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46659>
_______________________________________


More information about the Python-bugs-list mailing list