@@ -70,22 +70,11 @@ importlib.metadata._meta.SimplePath.__truediv__ # Runtime definition of protoco
7070# ===================================
7171
7272
73- # ===========
74- # 3.9 to 3.10
75- # ===========
76-
77- builtins.float.__setformat__ # Internal method for CPython test suite
78- typing._SpecialForm.__mro_entries__ # Exists at runtime, but missing from stubs
79-
80- # Will always raise. Not included to avoid type checkers inferring that
81- # Sentinel instances are callable.
82- typing_extensions.Sentinel.__call__
83-
84-
8573# =======
8674# <= 3.10
8775# =======
8876
77+ builtins.float.__setformat__ # Internal method for CPython test suite
8978email.contentmanager.typ
9079gettext.install # codeset default value is ['unspecified'] so can't be specified
9180gettext.translation # codeset default value is ['unspecified'] so can't be specified
@@ -100,6 +89,11 @@ tempfile.SpooledTemporaryFile.seekable
10089tempfile.SpooledTemporaryFile.writable
10190
10291tkinter.Tk.split # Exists at runtime, but missing from stubs
92+ typing._SpecialForm.__mro_entries__ # Exists at runtime, but missing from stubs
93+
94+ # Will always raise. Not included to avoid type checkers inferring that
95+ # Sentinel instances are callable.
96+ typing_extensions.Sentinel.__call__
10397
10498
10599# =======
@@ -212,13 +206,6 @@ importlib.metadata.DeprecatedList.sort
212206typing.ParamSpec(Args|Kwargs).__origin__
213207
214208
215- # =================================================================
216- # Allowlist entries that cannot or should not be fixed; 3.9 to 3.12
217- # =================================================================
218-
219- typing\.Annotated # Super-special typing primitive
220-
221-
222209# =============================================================
223210# Allowlist entries that cannot or should not be fixed; <= 3.10
224211# =============================================================
@@ -273,6 +260,11 @@ typing_extensions\.TypeAliasType\.__(parameters|type_params|name|module|value)__
273260unittest.test # Modules that exist at runtime, but shouldn't be added to typeshed
274261unittest\.test\..+ # Modules that exist at runtime, but shouldn't be added to typeshed
275262
263+ # Incompatible changes introduced in Python 3.10.17
264+ # (Remove once 3.10.17 becomes available for all platforms)
265+ (email._header_value_parser.get_encoded_word)?
266+ (email._header_value_parser.make_quoted_pairs)?
267+
276268
277269# =============================================================
278270# Allowlist entries that cannot or should not be fixed; <= 3.12
@@ -317,11 +309,7 @@ sunau.Au_write.initfp
317309threading.Lock # Factory function at runtime, but that wouldn't let us use it in type hints
318310types.SimpleNamespace.__init__ # class doesn't accept positional arguments but has default C signature
319311typing_extensions\.Annotated # Undocumented implementation details
320-
321- # Incompatible changes introduced in Python 3.10.17
322- # (Remove once 3.10.17 becomes available for all platforms)
323- (email._header_value_parser.get_encoded_word)?
324- (email._header_value_parser.make_quoted_pairs)?
312+ typing\.Annotated # Super-special typing primitive
325313
326314# These methods have no default implementation for Python < 3.13.
327315_pickle.Pickler.persistent_id
0 commit comments