8000 gh-128002: use efficient linked list impl for eager tasks in asyncio by kumaraditya303 · Pull Request #130518 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-128002: use efficient linked list impl for eager tasks in asyncio #130518

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

Merged
merged 5 commits into from
Mar 3, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update Modules/_asynciomodule.c
Co-authored-by: Itamar Oren <itamarost@gmail.com>
  • Loading branch information
kumaraditya303 and itamaro authored Mar 3, 2025
commit e36c0c56a63cb836af9ad515b2d8052d7b183b2f
2 changes: 1 addition & 1 deletion Modules/_asynciomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -3462,7 +3462,7 @@ task_eager_start(asyncio_state *state, TaskObj *task)
return -1;
}
// register the task into the linked list of tasks
// if the task completely eagerly then it will unregister itself
// if the task completes eagerly (without suspending) then it will unregister itself
// in future_schedule_callbacks when done otherwise
// it will continue in lazy execution
register_task(task);
Expand Down
Loading
0