mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
py313: Consolidate _pyrepl allowlist entries (#12031)
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
# new in py313
|
||||
_pyrepl.curses
|
||||
_pyrepl.fancy_termios
|
||||
_pyrepl.readline
|
||||
_pyrepl.simple_interact
|
||||
_pyrepl.unix_console
|
||||
_pyrepl.unix_eventqueue
|
||||
asyncio.unix_events.EventLoop
|
||||
asyncio.unix_events._UnixSelectorEventLoop.create_unix_server
|
||||
asyncio.unix_events.__all__
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# TODO: triage these (new in py313)
|
||||
_decimal
|
||||
_pyrepl.curses
|
||||
_pyrepl.fancy_termios
|
||||
_pyrepl.readline
|
||||
_pyrepl.simple_interact
|
||||
_pyrepl.unix_console
|
||||
_pyrepl.unix_eventqueue
|
||||
_stat.SF_SETTABLE
|
||||
_stat.SF_SUPPORTED
|
||||
_stat.SF_SYNTHETIC
|
||||
|
||||
@@ -12,17 +12,6 @@ _ctypes.alignment
|
||||
_ctypes.pointer
|
||||
_ctypes.sizeof
|
||||
_json.encode_basestring_ascii
|
||||
_pyrepl.commands
|
||||
_pyrepl.completing_reader
|
||||
_pyrepl.console
|
||||
_pyrepl.historical_reader
|
||||
_pyrepl.input
|
||||
_pyrepl.keymap
|
||||
_pyrepl.pager
|
||||
_pyrepl.reader
|
||||
_pyrepl.trace
|
||||
_pyrepl.types
|
||||
_pyrepl.utils
|
||||
_thread.interrupt_main
|
||||
_thread.lock
|
||||
_thread.stack_size
|
||||
@@ -312,6 +301,9 @@ zoneinfo.ZoneInfo.from_file
|
||||
# Allowlist entries that cannot or should not be fixed
|
||||
# ==========
|
||||
|
||||
# The internal implementation of the REPL on py313+; not for public consumption
|
||||
_pyrepl\..+
|
||||
|
||||
# Runtime AST node runtime constructor behaviour is too loose.
|
||||
# For static typing, the loose behaviour is undesirable (https://github.com/python/typeshed/issues/8378).
|
||||
# For the runtime, the loose behaviour is deprecated in Python 3.13 (https://github.com/python/cpython/issues/105858)
|
||||
|
||||
Reference in New Issue
Block a user