From c1c528641397416eb967a26399167317784ddbea Mon Sep 17 00:00:00 2001 From: Akuli Date: Tue, 12 May 2026 12:27:14 +0300 Subject: [PATCH 1/3] Add tkinter.Misc.config alias --- stdlib/tkinter/__init__.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stdlib/tkinter/__init__.pyi b/stdlib/tkinter/__init__.pyi index 3924150c8dc1..87d31a921bbb 100644 --- a/stdlib/tkinter/__init__.pyi +++ b/stdlib/tkinter/__init__.pyi @@ -679,8 +679,7 @@ class Misc: def __getitem__(self, key: str) -> Any: ... def cget(self, key: str) -> Any: ... def configure(self, cnf: Any = None) -> Any: ... - # TODO: config is an alias of configure, but adding that here creates - # conflict with the type of config in the subclasses. See #13149 + config = configure class CallWrapper: func: Incomplete From dcef9384417ea989261017948ce0efea467044bc Mon Sep 17 00:00:00 2001 From: Akuli Date: Tue, 12 May 2026 12:29:07 +0300 Subject: [PATCH 2/3] Update common.txt --- stdlib/@tests/stubtest_allowlists/common.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stdlib/@tests/stubtest_allowlists/common.txt b/stdlib/@tests/stubtest_allowlists/common.txt index befbc32682c5..84824d8de309 100644 --- a/stdlib/@tests/stubtest_allowlists/common.txt +++ b/stdlib/@tests/stubtest_allowlists/common.txt @@ -13,16 +13,6 @@ tarfile.TarInfo.__slots__ # it's a big dictionary at runtime and the dictionary # TODO: Modules that exist at runtime, but are missing from stubs # =============================================================== -turtledemo -turtledemo\..+ - - -# ====================================================================== -# TODO: Module members that exist at runtime, but are missing from stubs -# ====================================================================== - -tkinter.Misc.config - # ====================================================================== # Modules that exist at runtime, but are deliberately missing from stubs From 4f0b5b72817ca7b80aee459ce3b387ae18e15db8 Mon Sep 17 00:00:00 2001 From: Akuli Date: Tue, 12 May 2026 12:30:22 +0300 Subject: [PATCH 3/3] Oops --- stdlib/@tests/stubtest_allowlists/common.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/@tests/stubtest_allowlists/common.txt b/stdlib/@tests/stubtest_allowlists/common.txt index 84824d8de309..8f6257a21789 100644 --- a/stdlib/@tests/stubtest_allowlists/common.txt +++ b/stdlib/@tests/stubtest_allowlists/common.txt @@ -13,6 +13,9 @@ tarfile.TarInfo.__slots__ # it's a big dictionary at runtime and the dictionary # TODO: Modules that exist at runtime, but are missing from stubs # =============================================================== +turtledemo +turtledemo\..+ + # ====================================================================== # Modules that exist at runtime, but are deliberately missing from stubs