]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-103194: Fix Tkinter’s Tcl value type handling for Tcl 8.7/9.0 (GH-103846...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 31 May 2024 09:15:53 +0000 (12:15 +0300)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 09:15:53 +0000 (09:15 +0000)
commitd4680b9e17815140b512a399069400794dae1f97
tree25ecb522b96ee36cfb6b3e3c329941959288c4d0
parentbd0d97ce3497da35d17daa329c294f4cb87196ee
[3.12] gh-103194: Fix Tkinter’s Tcl value type handling for Tcl 8.7/9.0 (GH-103846) (GH-119831)

Some of standard Tcl types were renamed, removed, or no longer
registered in Tcl 8.7/9.0. This change fixes automatic conversion of Tcl
values to Python values to avoid returning a Tcl_Obj where the primary
Python types (int, bool, str, bytes) were returned in older Tcl.
(cherry picked from commit 94e9585e99abc2d060cedc77b3c03e06b4a0a9c4)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
Misc/NEWS.d/next/Library/2023-04-24-05-34-23.gh-issue-103194.GwBwWL.rst [new file with mode: 0644]
Modules/_tkinter.c