Skip to content

Commit 9656228

Browse files
committed
Add ast.Ellipsis.__new__ to allowlist
1 parent 503df8a commit 9656228

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

stdlib/@tests/stubtest_allowlists/py310.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ tkinter.tix.TkVersion
163163
# because it's not an ABC that makes any sense and was deprecated in 3.12
164164
_collections_abc.ByteString
165165

166+
ast.Ellipsis.__new__ # Implementation has *args, but shouldn't allow any
167+
166168
_?hashlib.scrypt # Raises TypeError if salt, n, r or p are None
167169

168170
importlib.abc.Traversable.open # Problematic protocol signature at runtime, see source code comments.

stdlib/@tests/stubtest_allowlists/py311.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ tkinter.tix.TkVersion
126126
# because it's not an ABC that makes any sense and was deprecated in 3.12
127127
_collections_abc.ByteString
128128

129+
ast.Ellipsis.__new__ # Implementation has *args, but shouldn't allow any
130+
129131
_?hashlib.scrypt # Raises TypeError if salt, n, r or p are None
130132

131133
importlib.abc.Traversable.open # Problematic protocol signature at runtime, see source code comments.

stdlib/@tests/stubtest_allowlists/py312.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ tkinter.tix.TkVersion
111111
# because it's not an ABC that makes any sense and was deprecated in 3.12
112112
_collections_abc.ByteString
113113

114+
ast.Ellipsis.__new__ # Implementation has *args, but shouldn't allow any
115+
114116
_?hashlib.scrypt # Raises TypeError if salt, n, r or p are None
115117

116118
importlib.abc.Traversable.open # Problematic protocol signature at runtime, see source code comments.

stdlib/@tests/stubtest_allowlists/py313.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ typing(_extensions)?\.IO\.writelines
7272
# because it's not an ABC that makes any sense and was deprecated in 3.12
7373
_collections_abc.ByteString
7474

75+
ast.Ellipsis.__new__ # Implementation has *args, but shouldn't allow any
76+
7577
_?hashlib.scrypt # Raises TypeError if salt, n, r or p are None
7678

7779
importlib.abc.Traversable.open # Problematic protocol signature at runtime, see source code comments.

stdlib/@tests/stubtest_allowlists/py39.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ tkinter.tix.TkVersion
110110
# because it's not an ABC that makes any sense and was deprecated in 3.12
111111
_collections_abc.ByteString
112112

113+
ast.Ellipsis.__new__ # Implementation has *args, but shouldn't allow any
114+
113115
_?hashlib.scrypt # Raises TypeError if salt, n, r or p are None
114116

115117
importlib.abc.Traversable.open # Problematic protocol signature at runtime, see source code comments.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy