]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-126219: Fix crash in tkinter.Tk with non-BMP className on Tcl/Tk 8.x (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jun 2026 06:31:08 +0000 (08:31 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2026 06:31:08 +0000 (09:31 +0300)
commit0ba13d34fb8f730f8f087f3756a4a7adfe3f04eb
treeac365ac39e40a5b9608c4a166c0771420fab6624
parent33b5aebfd4bf81361720bc533120a267db23ccc4
[3.14] gh-126219: Fix crash in tkinter.Tk with non-BMP className on Tcl/Tk 8.x (GH-151980) (GH-152046)

Tcl 8.x crashes when title-casing a non-BMP character during Tk
initialization, so such a className is now rejected with a ValueError.
(cherry picked from commit 124c7cd91be8cff76d1eec0adef65991c23c4419)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_tkinter/test_misc.py
Misc/NEWS.d/next/Library/2026-06-23-13-27-14.gh-issue-126219.kOfv2g.rst [new file with mode: 0644]
Modules/_tkinter.c