]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] [3.13] gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 11 Oct 2024 06:37:55 +0000 (08:37 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Oct 2024 06:37:55 +0000 (09:37 +0300)
commit171ebcd4df268c77f1ca03339a137ca6a54242e5
treeda5a5625b42cd01793cc72fd7a39544f9fecce43
parent91c7a2cb890856dde865cbc98b70c7421550f49e
[3.12] [3.13] gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974) (GH-125232) (GH-125284)

(cherry picked from commit 26a93189e4c3674a9e0acbd7923b1f27ff01419e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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