]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-75666: Fix a reference leak in tkinter event bindings (GH-151808) (GH-151958)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 Jun 2026 04:26:53 +0000 (06:26 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2026 04:26:53 +0000 (04:26 +0000)
commit752e23ec9061640b57efb4fbad6859e4448e42de
tree1f091fb7654c4b3495894f98b60c0f29ab26bb46
parent2957ff721bf13ab3c14f7cdb63607a81be6a8232
[3.15] gh-75666: Fix a reference leak in tkinter event bindings (GH-151808) (GH-151958)

The Tcl commands created for event callbacks are now deleted when a
binding is replaced or unbound, instead of being leaked.
(cherry picked from commit 3f09a175ad022ca7ccdbb8583a0c137d493533ef)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/idlelib/idle_test/test_iomenu.py
Lib/test/test_tkinter/test_misc.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2026-06-20-15-00-00.gh-issue-75666.Kt9xQ2.rst [new file with mode: 0644]