[3.13] gh-137273: Fix debug assertion failure in locale.setlocale() o… · python/cpython@a32bd11 · GitHub
Skip to content

Commit a32bd11

Browse files
[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 718e0c8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 6a217ce commit a32bd11

3 files changed

Lines changed: 97 additions & 21 deletions

File tree

Lib/test/test_locale.py

Lines changed: 49 additions & 21 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix debug assertion failure in :func:`locale.setlocale` on Windows.

Modules/_localemodule.c

Lines changed: 47 additions & 0 deletions

0 commit comments

Comments
 (0)