GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Tkinter: emit deprecation warning for trace_variable() etc · Issue #120220 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Tkinter: emit deprecation warning for trace_variable() etc#120220
Copy link
Assignees
serhiy-storchaka
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-tkintertype-featureA feature request or enhancementA feature request or enhancement

Description

@serhiy-storchaka
serhiy-storchaka
opened on Jun 7, 2024
Issue body actions

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

  • gh-120220: Deprecate legacy methods for tracing variables in Tkinter #120223

Activity

  1. serhiy-storchaka
    added
    type-featureA feature request or enhancementA feature request or enhancement
    topic-tkinter
    3.14bugs and security fixesbugs and security fixes
    on Jun 7, 2024
  2. serhiy-storchaka
    self-assigned this
    on Jun 7, 2024
  3. serhiy-storchaka
    added a commit that references this issue on Jun 7, 2024

    pythongh-120220: Deprecate legacy methods for tracing variables in Tk…

    cd263e2
  4. terryjreedy commented on Jun 24, 2024

    @terryjreedy
    terryjreedy
    on Jun 24, 2024
    Member
    More actions

    I added the new methods to the opening statement for the benefit of users who arrive here.

  5. terryjreedy commented on Jun 24, 2024

    @terryjreedy
    terryjreedy
    on Jun 24, 2024
    Member
    More actions

    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.

  6. terryjreedy
    closed this as completedon Jun 24, 2024
  7. terryjreedy
    reopened this on Jun 24, 2024
  8. rsre
    added a commit that references this issue on Nov 25, 2024

    chore: replace deprecated tkinter method

    e334f5f
  9. picnixz
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    and removed
    3.14bugs and security fixesbugs and security fixes
    on Dec 15, 2024
  10. serhiy-storchaka
    added a commit that references this issue on Apr 29, 2025

    gh-120220: Deprecate legacy methods for tracing variables in Tkinter (G…

    c46635a
  11. serhiy-storchaka
    closed this as completedon Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @serhiy-storchaka
    serhiy-storchaka

Labels

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.