diff --git a/stdlib/3/asyncio/futures.pyi b/stdlib/3/asyncio/futures.pyi index cda5bdf05..347be12fe 100644 --- a/stdlib/3/asyncio/futures.pyi +++ b/stdlib/3/asyncio/futures.pyi @@ -47,7 +47,6 @@ class Future(Awaitable[_T], Iterable[_T]): def _callbacks(self: _S) -> List[Callable[[_S], Any]]: ... def add_done_callback(self: _S, __fn: Callable[[_S], Any]) -> None: ... def cancel(self) -> bool: ... - def _schedule_callbacks(self) -> None: ... def cancelled(self) -> bool: ... def done(self) -> bool: ... def result(self) -> _T: ... @@ -55,7 +54,6 @@ class Future(Awaitable[_T], Iterable[_T]): def remove_done_callback(self: _S, __fn: Callable[[_S], Any]) -> int: ... def set_result(self, __result: _T) -> None: ... def set_exception(self, __exception: Union[type, BaseException]) -> None: ... - def _copy_state(self, other: Any) -> None: ... def __iter__(self) -> Generator[Any, None, _T]: ... def __await__(self) -> Generator[Any, None, _T]: ... @property diff --git a/stdlib/3/asyncio/queues.pyi b/stdlib/3/asyncio/queues.pyi index 420c67a9d..75340e67e 100644 --- a/stdlib/3/asyncio/queues.pyi +++ b/stdlib/3/asyncio/queues.pyi @@ -14,8 +14,6 @@ class Queue(Generic[_T]): def __repr__(self) -> str: ... def __str__(self) -> str: ... def _format(self) -> str: ... - def _consume_done_getters(self) -> None: ... - def _consume_done_putters(self) -> None: ... def qsize(self) -> int: ... @property def maxsize(self) -> int: ... diff --git a/stdlib/3/asyncio/tasks.pyi b/stdlib/3/asyncio/tasks.pyi index 424e78027..4fb11fb41 100644 --- a/stdlib/3/asyncio/tasks.pyi +++ b/stdlib/3/asyncio/tasks.pyi @@ -114,7 +114,6 @@ class Task(Future[_T], Generic[_T]): def get_stack(self, *, limit: int = ...) -> List[FrameType]: ... def print_stack(self, *, limit: int = ..., file: TextIO = ...) -> None: ... def cancel(self) -> bool: ... - def _step(self, value: Any = ..., exc: Exception = ...) -> None: ... if sys.version_info < (3, 7): def _wakeup(self, future: Future[Any]) -> None: ... diff --git a/tests/stubtest_whitelists/py37.txt b/tests/stubtest_whitelists/py37.txt index 92e465d75..3da982868 100644 --- a/tests/stubtest_whitelists/py37.txt +++ b/tests/stubtest_whitelists/py37.txt @@ -5,7 +5,6 @@ _tracemalloc.start asyncio.AbstractEventLoop.sock_sendfile asyncio.Future.__init__ asyncio.Future._callbacks -asyncio.Future._schedule_callbacks asyncio.Handle.__init__ asyncio.TimerHandle.__init__ asyncio.events.AbstractEventLoop.sock_sendfile @@ -14,7 +13,6 @@ asyncio.events.TimerHandle.__init__ asyncio.exceptions asyncio.futures.Future.__init__ asyncio.futures.Future._callbacks -asyncio.futures.Future._schedule_callbacks builtins.dict.get builtins.reversed builtins.str.maketrans diff --git a/tests/stubtest_whitelists/py38.txt b/tests/stubtest_whitelists/py38.txt index a9e60fabb..60fd0fcd6 100644 --- a/tests/stubtest_whitelists/py38.txt +++ b/tests/stubtest_whitelists/py38.txt @@ -8,7 +8,6 @@ _weakref.getweakrefcount asyncio.AbstractEventLoop.sock_sendfile asyncio.Future.__init__ asyncio.Future._callbacks -asyncio.Future._schedule_callbacks asyncio.Handle.__init__ asyncio.TimerHandle.__init__ asyncio.events.AbstractEventLoop.sock_sendfile @@ -16,7 +15,6 @@ asyncio.events.Handle.__init__ asyncio.events.TimerHandle.__init__ asyncio.futures.Future.__init__ asyncio.futures.Future._callbacks -asyncio.futures.Future._schedule_callbacks asyncio.proactor_events._ProactorBasePipeTransport.__del__ bdb.Bdb.runcall builtins.bytearray.extend diff --git a/tests/stubtest_whitelists/py3_common.txt b/tests/stubtest_whitelists/py3_common.txt index 056328566..ecebb7a48 100644 --- a/tests/stubtest_whitelists/py3_common.txt +++ b/tests/stubtest_whitelists/py3_common.txt @@ -19,17 +19,12 @@ asyncio.BaseEventLoop.subprocess_exec asyncio.Condition.acquire asyncio.Condition.locked asyncio.Condition.release -asyncio.Future._copy_state -asyncio.Queue._consume_done_getters -asyncio.Queue._consume_done_putters asyncio.Server asyncio.StreamReaderProtocol.__init__ -asyncio.Task._step asyncio.Task.get_stack asyncio.Task.print_stack asyncio.WriteTransport.set_write_buffer_limits asyncio.base_events.BaseEventLoop.subprocess_exec -asyncio.futures.Future._copy_state asyncio.futures.wrap_future asyncio.locks.Condition.acquire asyncio.locks.Condition.locked @@ -37,8 +32,6 @@ asyncio.locks.Condition.release asyncio.open_connection asyncio.open_unix_connection asyncio.proactor_events.BaseProactorEventLoop.sock_recv -asyncio.queues.Queue._consume_done_getters -asyncio.queues.Queue._consume_done_putters asyncio.selector_events.BaseSelectorEventLoop.sock_recv asyncio.sleep asyncio.start_unix_server @@ -46,7 +39,6 @@ asyncio.streams.StreamReaderProtocol.__init__ asyncio.streams.open_connection asyncio.streams.open_unix_connection asyncio.streams.start_unix_server -asyncio.tasks.Task._step asyncio.tasks.Task.get_stack asyncio.tasks.Task.print_stack asyncio.tasks.sleep