]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 18:39:13 +0000 (20:39 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 18:39:13 +0000 (20:39 +0200)
commit14e8decde76d1ae5055dd41e4cb899e4941f020b
tree17dbbfc69222137a63f12339872d7ec6db4a6464
parentebbfd8f51af471ce4857cafe11cf77d7a1ef2034
[3.14] gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH-137300) (#137305)

gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH-137300)

It happened when there were at least 16 characters after dot in the
locale name.
(cherry picked from commit 718e0c89ba0610bba048245028ac133bbf2d44c2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_locale.py
Misc/NEWS.d/next/Library/2025-08-01-15-07-59.gh-issue-137273.4V8Xmv.rst [new file with mode: 0644]
Modules/_localemodule.c