]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126219: Fix crash in tkinter.Tk with non-BMP className on Tcl/Tk 8.x (GH-151980)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 24 Jun 2026 05:59:42 +0000 (08:59 +0300)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2026 05:59:42 +0000 (08:59 +0300)
commit124c7cd91be8cff76d1eec0adef65991c23c4419
treefcbc7125165f8eaf7bfd2fd14d9e9950db36eb7d
parenta5677bff845ba6e1e2a33255d2d72f7db3741fd2
gh-126219: Fix crash in tkinter.Tk with non-BMP className on Tcl/Tk 8.x (GH-151980)

Tcl 8.x crashes when title-casing a non-BMP character during Tk
initialization, so such a className is now rejected with a ValueError.

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