Skip to content

tkinter: stdlib but not really #5589

Closed as not planned
Closed as not planned
@Akuli

Description

@Akuli

While tkinter is technically stdlib, it feels like a third-party package in a couple ways:

  • It's not always distributed with Python. The default Python installation on most linux distros includes all of the stdlib except tkinter, because that way python doesn't need to depend on Tcl/Tk.
  • I want to use the latest possible tkinter stubs instead of waiting several months for the next mypy release. I don't know how other typed tkinter people feel about this. @melassa and @Hawk777, what do you think?

We could consider moving tkinter stubs from stdlib/ to stubs/. This would create a types-tkinter project on pypi that is auto-updated when pull requests are merged, even though you aren't supposed to pip install tkinter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    project: policyOrganization of the typeshed projecttopic: tkintertkinter-related issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions