Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-128307: support eager_start kwarg in create_eager_task_factory #128306

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

graingert
Copy link
Contributor

@graingert graingert commented Dec 28, 2024

@graingert graingert changed the title add eager_start to create_task gh-128307: add eager_start to create_task Dec 28, 2024
@graingert graingert changed the title gh-128307: add eager_start to create_task gh-128307: add eager_start kwarg to asyncio.create_task Dec 28, 2024
@graingert graingert force-pushed the add-eager-start-to-create-task branch from c809133 to 2f101b3 Compare December 28, 2024 10:58
Lib/asyncio/base_events.py Outdated Show resolved Hide resolved
@asvetlov
Copy link
Contributor

TaskGroup.create_task() aslo should accept eager_start argument I guess.

@graingert
Copy link
Contributor Author

TaskGroup.create_task() aslo should accept eager_start argument I guess.

yup, it's in I just forgot to add it to the news

Lib/asyncio/base_events.py Outdated Show resolved Hide resolved
Lib/asyncio/tasks.py Outdated Show resolved Hide resolved
@graingert graingert marked this pull request as ready for review December 29, 2024 08:48
@graingert graingert marked this pull request as draft January 21, 2025 05:51
@graingert graingert changed the title gh-128307: add eager_start kwarg to asyncio.create_task gh-128307: add eager_start kwarg to loop.create_task Jan 21, 2025
@graingert graingert force-pushed the add-eager-start-to-create-task branch from 0699ae2 to 7bce401 Compare January 21, 2025 09:26
@graingert graingert changed the title gh-128307: add eager_start kwarg to loop.create_task gh-128307: support eager_start kwarg in create_eager_task_factory Jan 21, 2025
Lib/asyncio/tasks.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants