File tree 6 files changed +22
-2
lines changed
tests/stubtest_allowlists 6 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,6 @@ xml.etree.ElementTree.XMLParser.__init__ # Defined in C so has general signatur
106
106
xml.etree.cElementTree.XMLParser.__init__ # Defined in C so has general signature
107
107
108
108
# positional-only complaints caused by differences between typing aliases and the "real" classes in the stdlib
109
- _collections_abc.AsyncGenerator.asend # is also "async def" at runtime, but sync in the stub (see discussion in #7475)
110
- _collections_abc.AsyncGenerator.athrow # is also "async def" at runtime, but sync in the stub (see discussion in #7475)
111
109
_collections_abc.Coroutine.send
112
110
_collections_abc.Coroutine.throw
113
111
_collections_abc.Generator.send
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitt
11
11
builtins.float.__setformat__ # Internal method for CPython test suite
12
12
builtins.str.maketrans
13
13
cmath.log
14
+ 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.
16
+ collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
17
+ collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
18
+ collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475
14
19
collections.AsyncGenerator.ag_await
15
20
collections.AsyncGenerator.ag_code
16
21
collections.AsyncGenerator.ag_frame
Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ builtins.dict.get
15
15
builtins.float.__set_format__ # Internal method for CPython test suite
16
16
builtins.str.maketrans
17
17
cmath.log
18
+ 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.
20
+ collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
21
+ collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
22
+ collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475
18
23
collections.AsyncGenerator.ag_await
19
24
collections.AsyncGenerator.ag_code
20
25
collections.AsyncGenerator.ag_frame
Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ asyncio.locks._ContextManagerMixin.__enter__ # Always raises; deliberately omit
19
19
asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitted from the stub
20
20
builtins.dict.get
21
21
builtins.float.__set_format__ # Internal method for CPython test suite
22
+ 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.
24
+ collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
25
+ collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
26
+ collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475
22
27
collections.AsyncGenerator.ag_await
23
28
collections.AsyncGenerator.ag_code
24
29
collections.AsyncGenerator.ag_frame
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ asyncio.futures.Future.__init__ # Usually initialized from c object
21
21
asyncio.futures.Future._callbacks # Usually initialized from c object
22
22
builtins.dict.get
23
23
builtins.float.__set_format__ # Internal method for CPython test suite
24
+ 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.
26
+ collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
27
+ collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
28
+ collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475
24
29
collections.AsyncGenerator.ag_await
25
30
collections.AsyncGenerator.ag_code
26
31
collections.AsyncGenerator.ag_frame
Original file line number Diff line number Diff line change @@ -246,6 +246,8 @@ xml.parsers.expat.expat_CAPI
246
246
# ==========
247
247
# Allowlist entries that cannot or should not be fixed
248
248
# ==========
249
+ _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.
249
251
_collections_abc.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7475
250
252
_collections_abc.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7475
251
253
_collections_abc.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7475
You can’t perform that action at this time.
0 commit comments