Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] gh-140414: add fastpath for current running loop inasyncio.all_tasks (GH-140542)#144494

Merged
kumaraditya303 merged 2 commits intopython:3.14from
miss-islington:backport-95e5d59-3.14
Feb 6, 2026
Merged

[3.14] gh-140414: add fastpath for current running loop inasyncio.all_tasks (GH-140542)#144494
kumaraditya303 merged 2 commits intopython:3.14from
miss-islington:backport-95e5d59-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedFeb 5, 2026
edited by bedevere-appbot
Loading

Optimizeasyncio.all_tasks() for the common case where the event loop is running in the current thread by avoiding stop-the-world pauses and locking.

This optimization is already present forasyncio.current_task() so we do the same forasyncio.all_tasks().
(cherry picked from commit95e5d59)

Co-authored-by: Kumar Adityakumaraditya@python.org

…l_tasks` (pythonGH-140542)Optimize `asyncio.all_tasks()` for the common case where the event loop is running in the current thread by avoiding stop-the-world pauses and locking.This optimization is already present for `asyncio.current_task()` so we do the same for `asyncio.all_tasks()`.(cherry picked from commit95e5d59)Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@kumaraditya303kumaraditya303 added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelFeb 5, 2026
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@kumaraditya303 for commitd5b4023 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F144494%2Fmerge

If you want to schedule another build, you need to add the🔨 test-with-buildbots label again.

@kumaraditya303kumaraditya303 merged commitf4239df intopython:3.14Feb 6, 2026
123 of 124 checks passed
@miss-islingtonmiss-islington deleted the backport-95e5d59-3.14 branchFebruary 6, 2026 03:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@colesburycolesburycolesbury approved these changes

@1st11st1Awaiting requested review from 1st11st1 is a code owner

@asvetlovasvetlovAwaiting requested review from asvetlovasvetlov is a code owner

@kumaraditya303kumaraditya303Awaiting requested review from kumaraditya303kumaraditya303 is a code owner

@willingcwillingcAwaiting requested review from willingcwillingc is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@bedevere-bot@colesbury@kumaraditya303

Comments


[8]ページ先頭

©2009-2026 Movatter.jp