The Variable methods trace_variable(), trace_vdelete() and trace_vinfo() wrap deprecated Tcl commands which were deleted in Tcl 9.0. Modern replacements trace_add(), trace_remove(), and trace_info() were added in Python 3.6 (#66313). They wrap Tcl commands supported since Tcl 8.4 or older, i.e. in all supported Tcl versions.
It is a time to add runtime warnings for the old methods.
Activity
pythongh-120220: Deprecate legacy methods for tracing variables in Tk…
terryjreedy commented on Jun 24, 2024
I added the new methods to the opening statement for the benefit of users who arrive here.
terryjreedy commented on Jun 24, 2024
If it is possible to run tcl/tk 9.0 with 3.13 or even 3.14, this should be added to 3.13. It is a new feature, but a negative one.
chore: replace deprecated tkinter method
gh-120220: Deprecate legacy methods for tracing variables in Tkinter (G…