-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-tkinter
Description
There are two issues in tkinter.ttk with Tcl/Tk 9.0.
- Using the Variable methods trace_variable() and trace_vdelete(). They wrap deprecated Tcl commands which were removed in Tcl 9.0. New methods added in Add new methods to trace Tkinter variables #66313 should be used instead (added in Python 3.6 and supported in Tcl 8.4 or older).
- Combobox.current() fails because the underlying Tk command returns now an empty string instead of -1 for empty combobox. It would be right to translate it to
None, but -1 is more backward compatible. In future we can change this method to returnNone.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-tkinter