Skip to content

feat(loop): support eager_start in loop.create_task#748

Merged
fantix merged 1 commit into
MagicStack:masterfrom
samypr100:eager
Jul 14, 2026
Merged

feat(loop): support eager_start in loop.create_task#748
fantix merged 1 commit into
MagicStack:masterfrom
samypr100:eager

Conversation

@samypr100

@samypr100 samypr100 commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

This PR adds basic support for eager_start kwarg in loop.create_task.

Closes #746, #718

It also adjusts loop.pyi to mimic typeshed more closely as the type hints I was getting on my editor were not the ones I'd expect signature wise.

Currently it relies on these two PR's from being merged

I tested this manually on Linux and OSX by building uvloop from the branch and running it on eager_start workloads on python 3.13 and 3.14.

Disclosure: This PR is made by human-only contribution without AI generated code.

@tjkuson

tjkuson commented May 1, 2026

Copy link
Copy Markdown

Tested this patch locally and it seems to work.

@samypr100

Copy link
Copy Markdown
Contributor Author

@fantix Any luck we can move forward here? Thank you!

@fantix fantix merged commit 3cbb095 into MagicStack:master Jul 14, 2026
17 checks passed
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.

support **kwargs on loop.create_task like in 3.13 and 3.14

3 participants