Unpin Python micro versions used by stubtest (#7619)

Add new `asyncio` method, fix allowlists
This commit is contained in:
Alex Waygood
2022-04-13 22:07:01 +02:00
committed by GitHub
parent ce88976c0d
commit a1b1b95f67
4 changed files with 6 additions and 7 deletions

View File

@@ -33,14 +33,12 @@ ast.Index.__new__
ast.NameConstant.__new__
ast.Num.__new__
ast.Str.__new__
asyncio.base_events.__all__ # Fixed in 3.10.3
asyncio.Future.__init__ # Usually initialized from c object
asyncio.Future._callbacks # Usually initialized from c object
asyncio.futures.Future.__init__ # Usually initialized from c object
asyncio.futures.Future._callbacks # Usually initialized from c object
asyncio.Server # Fixed in 3.10.3
builtins.dict.get
builtins.float.__set_format__ # Internal method for CPython test suite
builtins.float.__setformat__ # Internal method for CPython test suite
builtins.property.__set_name__ # Doesn't actually exist
contextvars.Context.__init__ # Default C __init__ signature is wrong
contextlib.AbstractAsyncContextManager.__class_getitem__

View File

@@ -15,14 +15,12 @@ ast.Index.__new__
ast.NameConstant.__new__
ast.Num.__new__
ast.Str.__new__
asyncio.base_events.__all__ # Fixed in 3.9.11
asyncio.Future.__init__ # Usually initialized from c object
asyncio.Future._callbacks # Usually initialized from c object
asyncio.futures.Future.__init__ # Usually initialized from c object
asyncio.futures.Future._callbacks # Usually initialized from c object
asyncio.Server # Fixed in 3.9.11
builtins.dict.get
builtins.float.__set_format__ # Internal method for CPython test suite
builtins.float.__setformat__ # Internal method for CPython test suite
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7491
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7491