]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730) (GH-127098)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 21 Nov 2024 11:44:37 +0000 (13:44 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2024 11:44:37 +0000 (11:44 +0000)
commit4b4e0dbdf49adc91c35a357ad332ab3abd4c31b1
tree3df574923c80e944deb241266f52c8d4601d7a2c
parentd997be051017ac84d3b5ebf69aa0a11b2a61c230
[3.12] gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730) (GH-127098)

It now returns multiple era description segments separated by semicolons.
Previously it only returned the first segment on platforms with Glibc.
(cherry picked from commit 4803cd0244847f286641c85591fda08b513cea52)
Doc/library/locale.rst
Lib/test/test__locale.py
Misc/NEWS.d/next/Library/2024-11-12-13-14-47.gh-issue-126727.5Eqfqd.rst [new file with mode: 0644]
Modules/_localemodule.c