]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-152569: Fix asyncio.wait leaking tasks via await-graph on long-lived future...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 2 Jul 2026 08:20:14 +0000 (10:20 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Jul 2026 08:20:14 +0000 (13:50 +0530)
commitc2cb9bdcdc905a0859a9c456dcff548909b101d0
treecc397ead756765e62bbd0c38eb153b107baaafe1
parentc5b0c81c52f1a1580113519fb17c25dee9caf433
[3.15] gh-152569: Fix asyncio.wait leaking tasks via await-graph on long-lived futures (GH-152585) (#152868)

gh-152569: Fix asyncio.wait leaking tasks via await-graph on long-lived futures (GH-152585)
(cherry picked from commit f8514dccaca4acb84ba02188c3e433a9d6989c13)

Co-authored-by: Simon Knott <info@simonknott.de>
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_tasks.py
Misc/NEWS.d/next/Library/2026-06-29-09-45-00.gh-issue-152569.Kf7Lq2.rst [new file with mode: 0644]