]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-133740: Fix regression in locale.nl_langinfo(ALT_DIGITS) (GH-136237)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 3 Jul 2025 10:39:14 +0000 (13:39 +0300)
committerGitHub <noreply@github.com>
Thu, 3 Jul 2025 10:39:14 +0000 (10:39 +0000)
commit5c984ae35e30f0533e6cc727d23cc158decf001c
tree6d05552d58b6970271a3d307507398d4f47081de
parent8dc3383abea72ee3deafec60818aeb817d8fec09
gh-133740: Fix regression in locale.nl_langinfo(ALT_DIGITS) (GH-136237)

There is no need to temporary switch locale for items ALT_DIGITS and ERA
if the nl_langinfo() result is empty (most locales).
Modules/_localemodule.c