Skip to content

gh-157301: Fix asyncio event loop hanging on a failed eager task start - #157302

Merged
kumaraditya303 merged 4 commits into
python:mainfrom
deadlovelll:gh-157301-hang
Sep 19, 2026
Merged

kumaraditya303 merged 4 commits into
python:mainfrom
deadlovelll:gh-157301-hang

Conversation

@deadlovelll

Copy link
Copy Markdown
Contributor

Fix asyncio event loop hanging on a failed eager task start

For more details see gh-157301

Comment thread Modules/_asynciomodule.c
Comment thread Lib/asyncio/tasks.py Outdated
@kumaraditya303 kumaraditya303 added topic-asyncio needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Sep 16, 2026
@kumaraditya303
kumaraditya303 enabled auto-merge (squash) September 19, 2026 10:01
@kumaraditya303
kumaraditya303 merged commit 5b34363 into python:main Sep 19, 2026
55 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @deadlovelll for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington-app

Copy link
Copy Markdown

Sorry, @deadlovelll and @kumaraditya303, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 5b343636bae9b89cb5632ca07b01e1570e24653d 3.14

@miss-islington-app

Copy link
Copy Markdown

Sorry, @deadlovelll and @kumaraditya303, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 5b343636bae9b89cb5632ca07b01e1570e24653d 3.13

@bedevere-app

bedevere-app Bot commented Sep 19, 2026

Copy link
Copy Markdown

GH-157785 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Sep 19, 2026
@deadlovelll

Copy link
Copy Markdown
Contributor Author

Sorry, @deadlovelll and @kumaraditya303, I could not cleanly backport this to 3.14 due to a conflict. Please backport using cherry_picker on command line.

cherry_picker 5b343636bae9b89cb5632ca07b01e1570e24653d 3.14

I will work on the backports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes topic-asyncio

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants