]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 9 Oct 2024 08:42:08 +0000 (11:42 +0300)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2024 08:42:08 +0000 (11:42 +0300)
commit21c04e1a972bd1b6285e0ea41fa107d635bbe43a
tree150fb5cd016501330551298cfa21b9d19b7a5c01
parent92760bd85b8f48b88df5b81100a757048979de83
gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974)

Now it returns a tuple of up to 100 strings (an empty tuple on most locales).
Previously it returned the first item of that tuple or an empty string.
Doc/library/locale.rst
Lib/test/test__locale.py
Misc/NEWS.d/next/Library/2024-10-08-12-09-09.gh-issue-124969._VBQLq.rst [new file with mode: 0644]
Modules/_localemodule.c