diff --git a/stdlib/@tests/stubtest_allowlists/py38.txt b/stdlib/@tests/stubtest_allowlists/py38.txt index 6d98ee251..e28a38d43 100644 --- a/stdlib/@tests/stubtest_allowlists/py38.txt +++ b/stdlib/@tests/stubtest_allowlists/py38.txt @@ -9,8 +9,6 @@ _dummy_threading.Lock _dummy_threading.RLock _dummy_threading.Thread.native_id asyncio.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself -asyncio.locks._ContextManagerMixin.__enter__ # Always raises; deliberately omitted from the stub -asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitted from the stub asyncio.transports.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself builtins.float.__set_format__ # Internal method for CPython test suite dummy_threading.Condition.acquire @@ -77,7 +75,6 @@ collections.Generator.gi_code collections.Generator.gi_frame collections.Generator.gi_running collections.Generator.gi_yieldfrom -collections.Mapping.__reversed__ # Set to None at runtime for a better error message collections.Mapping.get # Adding None to the Union messed up mypy collections.Sequence.index # Supporting None in end is not mandatory xxsubtype # module missing from the stubs @@ -158,6 +155,9 @@ tkinter.tix.TkVersion # Allowlist entries that cannot or should not be fixed; <= 3.8 # ============================================================ +asyncio.locks._ContextManagerMixin.__enter__ # Always raises; deliberately omitted from the stub +asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitted from the stub + # Incompatible changes introduced in Python 3.8.20 # (Remove once 3.8.20 becomes available for GitHub Actions) email._header_value_parser.NLSET @@ -183,6 +183,7 @@ builtins.property.__get__ # Runtime signature is incorrect (https://github.com/ builtins.staticmethod.__get__ # Runtime signature is incorrect (https://github.com/python/cpython/issues/93021) builtins.memoryview.__iter__ # C type that implements __getitem__ builtins.memoryview.cast # inspect.signature is incorrect about shape being kw-only +collections.Mapping.__reversed__ # Set to None at runtime for a better error message, omitted from typeshed # Adding these reflected dunders to `typing.AbstractSet` causes a large number of false-positives. See #7414. collections.Set.__rand__ diff --git a/stdlib/@tests/stubtest_allowlists/py39.txt b/stdlib/@tests/stubtest_allowlists/py39.txt index 0ef22057a..991f638fb 100644 --- a/stdlib/@tests/stubtest_allowlists/py39.txt +++ b/stdlib/@tests/stubtest_allowlists/py39.txt @@ -66,7 +66,6 @@ collections.Generator.gi_code collections.Generator.gi_frame collections.Generator.gi_running collections.Generator.gi_yieldfrom -collections.Mapping.__reversed__ # Set to None at runtime for a better error message collections.Mapping.get # Adding None to the Union messed up mypy collections.Sequence.index # Supporting None in end is not mandatory xxsubtype # module missing from the stubs @@ -193,6 +192,7 @@ builtins.property.__get__ # Runtime signature is incorrect (https://github.com/ builtins.staticmethod.__get__ # Runtime signature is incorrect (https://github.com/python/cpython/issues/93021) builtins.memoryview.__iter__ # C type that implements __getitem__ builtins.memoryview.cast # inspect.signature is incorrect about shape being kw-only +collections.Mapping.__reversed__ # Set to None at runtime for a better error message, omitted from typeshed # Adding these reflected dunders to `typing.AbstractSet` causes a large number of false-positives. See #7414. collections.Set.__rand__