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 — Fix tkinter.ttk with Tcl/Tk 9.0 · Issue #120211 · python/cpython

Fix tkinter.ttk with Tcl/Tk 9.0 #120211

New issue
Copy link
New issue
Copy link
Closed
Closed
Fix tkinter.ttk with Tcl/Tk 9.0#120211
Copy link
Labels
3.12only security fixesonly security fixes3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixestopic-tkinter

Description

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

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 return None.

Linked PRs

  • gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 #120213
  • [3.13] gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (GH-120213) #120215
  • [3.12] gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (GH-120213) #120216

Activity

  1. serhiy-storchaka
    added
    topic-tkinter
    3.12only security fixesonly security fixes
    3.13only security fixesonly security fixes
    3.14bugs and security fixesbugs and security fixes
    on Jun 7, 2024
  2. serhiy-storchaka
    added 2 commits that reference this issue on Jun 7, 2024

    pythongh-120211: Fix tkinter.ttk with Tcl/Tk 9.0

    b03627f

    gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (GH-120213)

    d68a22e
  3. miss-islington
    added 2 commits that reference this issue on Jun 7, 2024

    pythongh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (pythonGH-120213)

    bb39914

    pythongh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (pythonGH-120213)

    be19854
  4. serhiy-storchaka
    added a commit that references this issue on Jun 7, 2024

    [3.12] gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (GH-120213) (GH-120216

    ac68d83
  5. serhiy-storchaka
    closed this as completedon Jun 7, 2024
  6. serhiy-storchaka
    added a commit that references this issue on Jun 7, 2024

    [3.13] gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (GH-120213) (GH-120215

    8368b67
  7. estyxx
    added a commit that references this issue on Jul 17, 2024

    pythongh-120211: Fix tkinter.ttk with Tcl/Tk 9.0 (pythonGH-120213)

    49a3b51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesonly security fixes3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixestopic-tkinter

    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.