]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 1 Aug 2025 15:06:16 +0000 (17:06 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Aug 2025 15:06:16 +0000 (15:06 +0000)
commita32bd11cb07fc23cb6a76d9ea43ecffc07bc4961
tree4d5dad56768c7370ce500a50a0cf09a4b5b70b81
parent6a217cef27925866b2c91813dd96177535916a4d
[3.13] gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH-137300) (GH-137306)

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