Fix default value of input, remove now unused allowlist entry for epoll (#9742)

This commit is contained in:
Shantanu
2023-02-16 15:55:31 -08:00
committed by GitHub
parent 660c832fa4
commit 5c54e52e23
8 changed files with 6 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ jobs:
matrix:
# tkinter doesn't import on macOS-12
os: ["ubuntu-latest", "windows-latest", "macos-11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10.10", "3.11.2"] # TODO: unpin micro versions
fail-fast: false
steps:

View File

@@ -32,7 +32,7 @@ jobs:
matrix:
# tkinter doesn't import on macOS 12
os: ["ubuntu-latest", "windows-latest", "macos-11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10.10", "3.11.2"] # TODO: unpin micro versions
fail-fast: false
steps:

View File

@@ -1380,7 +1380,7 @@ def hash(__obj: object) -> int: ...
def help(request: object = ...) -> None: ...
def hex(__number: int | SupportsIndex) -> str: ...
def id(__obj: object) -> int: ...
def input(__prompt: object = None) -> str: ...
def input(__prompt: object = "") -> str: ...
class _GetItemIterable(Protocol[_T_co]):
def __getitem__(self, __i: int) -> _T_co: ...

View File

@@ -14,7 +14,6 @@ _?curses.color_pair
(os|posix).splice
signal.sigtimedwait
signal.sigwaitinfo
select.epoll.register
# ==========
# Allowlist entries that cannot or should not be fixed

View File

@@ -17,5 +17,4 @@ signal.SIGSTKFLT
signal.Signals.SIGSTKFLT
signal.sigtimedwait
signal.sigwaitinfo
select.epoll.register
xxlimited.Xxo.x_exports

View File

@@ -13,6 +13,7 @@ asyncio.transports.WriteTransport.get_write_buffer_limits # Documented. Exists
asyncio.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
builtins.float.__set_format__ # Internal method for CPython test suite
builtins.str.maketrans
builtins.input # Incorrect default value in text signature, fixed in 3.10
cmath.log
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7491

View File

@@ -20,6 +20,7 @@ asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitt
asyncio.transports.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
asyncio.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
builtins.float.__set_format__ # Internal method for CPython test suite
builtins.input # Incorrect default value in text signature, fixed in 3.10
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7491
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7491

View File

@@ -18,6 +18,7 @@ asyncio.base_events.BaseEventLoop.subprocess_exec # BaseEventLoop adds several p
asyncio.Future.__init__ # Usually initialized from c object
asyncio.futures.Future.__init__ # Usually initialized from c object
builtins.float.__setformat__ # Internal method for CPython test suite
builtins.input # Incorrect default value in text signature, fixed in 3.10
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in the stub, see #7491
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7491