]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974) (#125232)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 10 Oct 2024 21:56:22 +0000 (00:56 +0300)
committerGitHub <noreply@github.com>
Thu, 10 Oct 2024 21:56:22 +0000 (05:56 +0800)
commit26a93189e4c3674a9e0acbd7923b1f27ff01419e
tree96c40a78761366e2ca95ba136eff2981039d4d2a
parent2019362d95fcf53151db09c6c6fa45c7bba660e5
[3.13] gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974) (#125232)

Returns a tuple of up to 100 strings for ALT_DIGITS lookup (an empty tuple on most locales).
Previously it returned the first item of that tuple or an empty string.
(cherry picked from commit 21c04e1a972bd1b6285e0ea41fa107d635bbe43a)
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