FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tkinter: add **kwargs support to tkinter.Misc.after for 3.14 by JelleZijlstra · Pull Request #15720 · python/typeshed · GitHub

Repository navigation

tkinter: add **kwargs support to tkinter.Misc.after for 3.14 - #15720

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
JelleZijlstra:tkinter-after
May 8, 2026
Merged

JelleZijlstra merged 1 commit into
python:mainfrom
JelleZijlstra:tkinter-after

Conversation

Copy link
Copy Markdown
Member

In Python 3.14, python/cpython#126900 added kwargs support to tkinter.Misc.after.
stubtest missed this because we allowlist the function for a different reason.

Found by Codex along with #15717 (I didn't include it in that PR because I incorrectly convinced myself
this one was more complicated). It also found missing **kwargs support for some asyncio create_task functions,
but we already have issues/PRs about that (e.g. #13687).

In Python 3.14, python/cpython#126900 added kwargs support to `tkinter.Misc.after`.
stubtest missed this because we allowlist the function for a different reason.

Found by Codex along with python#15717 (I didn't include it in that PR because I incorrectly convinced myself
this one was more complicated). It also found missing **kwargs support for some asyncio create_task functions,
but we already have issues/PRs about that (e.g. python#13687).

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

JelleZijlstra merged commit 78a12c6 into python:main May 8, 2026
50 checks passed
JelleZijlstra deleted the tkinter-after branch May 8, 2026 14:07

Akuli commented May 12, 2026 •
edited
Loading

Copy link
Copy Markdown
Collaborator

I incorrectly convinced myself this one was more complicated

This is not a bad instinct with tkinter. It is very dynamic, so type annotations for tkinter are usually surprisingly hard to get right.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL