]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113951: Tkinter: "tag_unbind(tag, sequence, funcid)" now only unbinds "funcid...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 4 Feb 2024 15:49:42 +0000 (17:49 +0200)
committerGitHub <noreply@github.com>
Sun, 4 Feb 2024 15:49:42 +0000 (17:49 +0200)
commit7e42fddf608337e83b30401910d76fd75d5cf20a
tree0a7bc20dd9d60d77604b4e98e8695bf68e3a0b5c
parent3ddc5152550ea62280124c37d0b4339030ff7df4
gh-113951: Tkinter: "tag_unbind(tag, sequence, funcid)" now only unbinds "funcid" (GH-113955)

Previously, "tag_unbind(tag, sequence, funcid)" methods of Text and
Canvas widgets destroyed the current binding for "sequence", leaving
"sequence" unbound, and deleted the "funcid" command.

Now they remove only "funcid" from the binding for "sequence", keeping
other commands, and delete the "funcid" command.
They leave "sequence" unbound only if "funcid" was the last bound command.
Lib/test/test_tkinter/test_misc.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2024-01-11-20-47-49.gh-issue-113951.AzlqFK.rst [new file with mode: 0644]