gh-66410: Do not stringify arguments of Tkinter callback (GH-98592)
Callbacks registered in the tkinter module now take arguments as various Python objects (int, float, bytes, tuple), not just str. To restore the previous behavior set tkinter module global wantobject to 1 before creating the Tk object or call the wantobject() method of the Tk object with argument 1. Calling it with argument 2 restores the current default behavior.
S
Serhiy Storchaka committed
65f5e586a1239ed1a66d8284773d7b02ce40e480
Parent: b60d4c0
Committed by GitHub <noreply@github.com>
on 5/7/2024, 12:07:32 PM