Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions stdlib/asyncio/base_events.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class BaseEventLoop(AbstractEventLoop):
def create_future(self) -> Future[Any]: ...
# Tasks methods
if sys.version_info >= (3, 14):
# `eager_start` only exists in Python 3.13.3
def create_task(
self,
coro: _CoroutineLike[_T],
Expand Down
1 change: 1 addition & 0 deletions stdlib/asyncio/events.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ class AbstractEventLoop:
def create_future(self) -> Future[Any]: ...
# Tasks methods
if sys.version_info >= (3, 14):
# `eager_start` only exists in Python 3.13.3
@abstractmethod
def create_task(
self,
Expand Down
1 change: 1 addition & 0 deletions stdlib/asyncio/taskgroups.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class TaskGroup:
async def __aenter__(self) -> Self: ...
async def __aexit__(self, et: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None) -> None: ...
if sys.version_info >= (3, 14):
# `eager_start` only exists in Python 3.13.3
def create_task(
self,
coro: _CoroutineLike[_T],
Expand Down
1 change: 1 addition & 0 deletions stdlib/asyncio/tasks.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ else:
def all_tasks(loop: AbstractEventLoop | None = None) -> set[Task[Any]]: ...

if sys.version_info >= (3, 14):
# `eager_start` only exists in Python 3.13.3
def create_task(
coro: _CoroutineLike[_T], *, name: str | None = None, context: Context | None = None, eager_start: bool | None = None
) -> Task[_T]: ...
Expand Down