Skip to content

Commit 3191092

Browse files
committed
Allow
1 parent 6041c28 commit 3191092

File tree

6 files changed

+3
-5
lines changed

6 files changed

+3
-5
lines changed

tests/stubtest_allowlists/py310.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ typing.IO.truncate
2323
typing.IO.write
2424
typing.IO.writelines
2525

26+
_collections_abc.AsyncGenerator.athrow # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
2627
_weakref.ProxyType.__reversed__ # Doesn't really exist
2728
ast.Bytes.__new__
2829
ast.Ellipsis.__new__

tests/stubtest_allowlists/py36.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ builtins.float.__setformat__ # Internal method for CPython test suite
1212
builtins.str.maketrans
1313
cmath.log
1414
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
15-
collections.AsyncGenerator.athrow # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
1615
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
1716
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
1817
collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475
@@ -94,6 +93,8 @@ tkinter.filedialog.TkVersion
9493
tkinter.filedialog.wantobjects
9594
tkinter.simpledialog.wantobjects
9695
tkinter.tix.wantobjects
96+
typing.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
97+
typing.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7475
9798

9899
builtins.memoryview.__iter__ # C type that implements __getitem__
99100
builtins.memoryview.cast # inspect.signature is incorrect about shape being kw-only

tests/stubtest_allowlists/py37.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ builtins.float.__set_format__ # Internal method for CPython test suite
1616
builtins.str.maketrans
1717
cmath.log
1818
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
19-
collections.AsyncGenerator.athrow # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
2019
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
2120
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
2221
collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475

tests/stubtest_allowlists/py38.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitt
2020
builtins.dict.get
2121
builtins.float.__set_format__ # Internal method for CPython test suite
2222
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
23-
collections.AsyncGenerator.athrow # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
2423
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
2524
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
2625
collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475

tests/stubtest_allowlists/py39.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ asyncio.futures.Future._callbacks # Usually initialized from c object
2222
builtins.dict.get
2323
builtins.float.__set_format__ # Internal method for CPython test suite
2424
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
25-
collections.AsyncGenerator.athrow # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
2625
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
2726
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
2827
collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475

tests/stubtest_allowlists/py3_common.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ xml.parsers.expat.expat_CAPI
247247
# Allowlist entries that cannot or should not be fixed
248248
# ==========
249249
_collections_abc.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
250-
_collections_abc.AsyncGenerator.athrow # async at runtime, deliberately not in the stub, see #7475. Pos-only differences also.
251250
_collections_abc.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
252251
_collections_abc.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
253252
_collections_abc.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475

0 commit comments

Comments
 (0)