Skip to content

Commit 966fbfb

Browse files
authored
py313: Consolidate _pyrepl allowlist entries (#12031)
1 parent 2985ef4 commit 966fbfb

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

stdlib/@tests/stubtest_allowlists/darwin-py313.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
# new in py313
2-
_pyrepl.curses
3-
_pyrepl.fancy_termios
4-
_pyrepl.readline
5-
_pyrepl.simple_interact
6-
_pyrepl.unix_console
7-
_pyrepl.unix_eventqueue
82
asyncio.unix_events.EventLoop
93
asyncio.unix_events._UnixSelectorEventLoop.create_unix_server
104
asyncio.unix_events.__all__

stdlib/@tests/stubtest_allowlists/linux-py313.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# TODO: triage these (new in py313)
22
_decimal
3-
_pyrepl.curses
4-
_pyrepl.fancy_termios
5-
_pyrepl.readline
6-
_pyrepl.simple_interact
7-
_pyrepl.unix_console
8-
_pyrepl.unix_eventqueue
93
_stat.SF_SETTABLE
104
_stat.SF_SUPPORTED
115
_stat.SF_SYNTHETIC

stdlib/@tests/stubtest_allowlists/py313.txt

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,6 @@ _ctypes.alignment
1212
_ctypes.pointer
1313
_ctypes.sizeof
1414
_json.encode_basestring_ascii
15-
_pyrepl.commands
16-
_pyrepl.completing_reader
17-
_pyrepl.console
18-
_pyrepl.historical_reader
19-
_pyrepl.input
20-
_pyrepl.keymap
21-
_pyrepl.pager
22-
_pyrepl.reader
23-
_pyrepl.trace
24-
_pyrepl.types
25-
_pyrepl.utils
2615
_thread.interrupt_main
2716
_thread.lock
2817
_thread.stack_size
@@ -312,6 +301,9 @@ zoneinfo.ZoneInfo.from_file
312301
# Allowlist entries that cannot or should not be fixed
313302
# ==========
314303

304+
# The internal implementation of the REPL on py313+; not for public consumption
305+
_pyrepl\..+
306+
315307
# Runtime AST node runtime constructor behaviour is too loose.
316308
# For static typing, the loose behaviour is undesirable (https://github.com/python/typeshed/issues/8378).
317309
# For the runtime, the loose behaviour is deprecated in Python 3.13 (https://github.com/python/cpython/issues/105858)

0 commit comments

Comments
 (0)