From e53e233f24f746f115ba3b059ee3f5dde5ba774f Mon Sep 17 00:00:00 2001 From: sobolevn Date: Tue, 27 May 2025 10:19:22 +0300 Subject: [PATCH] Update `_asyncio` to 3.14 (#14165) --- stdlib/@tests/stubtest_allowlists/py314.txt | 1 - stdlib/_asyncio.pyi | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/@tests/stubtest_allowlists/py314.txt b/stdlib/@tests/stubtest_allowlists/py314.txt index 2b563167a..2f0911eba 100644 --- a/stdlib/@tests/stubtest_allowlists/py314.txt +++ b/stdlib/@tests/stubtest_allowlists/py314.txt @@ -2,7 +2,6 @@ # TODO: New errors in Python 3.14 that need to be fixed or moved below # ==================================================================== -_asyncio.all_tasks asyncio.eager_task_factory asyncio.tasks.eager_task_factory compression.gzip.GzipFile.readinto diff --git a/stdlib/_asyncio.pyi b/stdlib/_asyncio.pyi index 4544680cc..ed56f33af 100644 --- a/stdlib/_asyncio.pyi +++ b/stdlib/_asyncio.pyi @@ -107,3 +107,4 @@ if sys.version_info >= (3, 12): if sys.version_info >= (3, 14): def future_discard_from_awaited_by(future: Future[Any], waiter: Future[Any], /) -> None: ... def future_add_to_awaited_by(future: Future[Any], waiter: Future[Any], /) -> None: ... + def all_tasks(loop: AbstractEventLoop | None = None) -> set[Task[Any]]: ...