]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-103194: Fix Tkinter’s Tcl value type handling for Tcl 8.7/9.0 (GH-103846...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 31 May 2024 10:42:24 +0000 (12:42 +0200)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 10:42:24 +0000 (10:42 +0000)
commit5539bd9df2b8301c9ec5fd1e1de0cb065a591c16
tree479b7f95581b1b05f64ef827089d08eaed1ea89e
parent38bf39cb4be279cce6c97da26afcc60859a01571
[3.13] gh-103194: Fix Tkinter’s Tcl value type handling for Tcl 8.7/9.0 (GH-103846) (GH-119830)

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