]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:24 +0000 (08:31 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2026 06:31:24 +0000 (09:31 +0300)
commit32546b728eea7c2757210ee89bb43d360a29a5fa
tree32f15243d88c0103b9c007b22e7f52e4f5b8ba32
parent0ba3fcdf2f42ffec7e736595cfa68771e03d8cc2
[3.13] gh-126219: Fix crash in tkinter.Tk with non-BMP className on Tcl/Tk 8.x (GH-151980) (GH-152047)

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