Skip to content

Commit 034c9af

Browse files
committed
Add NEWS entry for asyncio nested KeyboardInterrupt fix
1 parent 099cf04 commit 034c9af

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Misc/NEWS.d/next/Library/2026-03-20-05-10-21.gh-issue-146194.aXjDnd.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Fix nested :exc:`KeyboardInterrupt` handling in :mod:`asyncio`. Previously,
2+
multiple Ctrl+C presses would cause a crash with ``Task was destroyed but it
3+
is pending!``. Now nested cancellations propagate correctly through multiple
4+
levels.

0 commit comments

Comments
 (0)