]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 21 Nov 2024 11:16:08 +0000 (13:16 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2024 11:16:08 +0000 (13:16 +0200)
commit4803cd0244847f286641c85591fda08b513cea52
treee6c1a444deff5366ba31b7ca6d321401bc245032
parenteaf217108226633c03cc5c4c90f0b6e4587c8803
gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730)

It now returns multiple era description segments separated by semicolons.
Previously it only returned the first segment on platforms with Glibc.
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