Content-Length: 278253 | pFad | https://github.com/python/cpython/issues/120220

28 Tkinter: emit deprecation warning for trace_variable() etc · Issue #120220 · python/cpython · GitHub
Skip to content

Tkinter: emit deprecation warning for trace_variable() etc #120220

@serhiy-storchaka

Description

@serhiy-storchaka

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.

Linked PRs

Metadata

Metadata

Labels

stdlibStandard Library Python modules in the Lib/ directorytopic-tkintertype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/120220

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy