]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-126083: Fix a reference leak in `asyncio.Task` when reinitializing with...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 31 Oct 2024 08:19:56 +0000 (09:19 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Oct 2024 08:19:56 +0000 (08:19 +0000)
commit90de322b32a72c69afafa2fb879676923357cf3a
treeeb2380402838980ae8c17bfcb79ece919412611a
parent975911887dd767babfe06aa45e835b32c4112b51
[3.12] gh-126083: Fix a reference leak in `asyncio.Task` when reinitializing with new non-`None` context (GH-126103) (#126230)

gh-126083: Fix a reference leak in `asyncio.Task` when reinitializing with new non-`None` context (GH-126103)
(cherry picked from commit d07dcce6935364cab807e0df931ed09b088ade69)

Co-authored-by: Nico-Posada <102486290+Nico-Posada@users.noreply.github.com>
Lib/test/test_asyncio/test_tasks.py
Misc/NEWS.d/next/Library/2024-10-28-22-35-22.gh-issue-126083.TuI--n.rst [new file with mode: 0644]
Modules/_asynciomodule.c