mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Fix default value of input, remove now unused allowlist entry for epoll (#9742)
This commit is contained in:
2
.github/workflows/daily.yml
vendored
2
.github/workflows/daily.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/stubtest_stdlib.yml
vendored
2
.github/workflows/stubtest_stdlib.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -17,5 +17,4 @@ signal.SIGSTKFLT
|
||||
signal.Signals.SIGSTKFLT
|
||||
signal.sigtimedwait
|
||||
signal.sigwaitinfo
|
||||
select.epoll.register
|
||||
xxlimited.Xxo.x_exports
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user