]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (#122139)
authorSam Gross <colesbury@gmail.com>
Tue, 23 Jul 2024 17:06:03 +0000 (13:06 -0400)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2024 17:06:03 +0000 (17:06 +0000)
commita15feded71dd47202db169613effdafc468a8cf3
treea7f9117f8e5eed9636aadd0460d24e2c9490a90a
parente6b25e9a09dbe09839b36f97b9174a30b1db2dbf
gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (#122139)

* gh-120974: Make _asyncio._leave_task atomic in the free-threaded build

Update `_PyDict_DelItemIf` to allow for an argument to be passed to the
predicate.
Include/internal/pycore_dict.h
Modules/_asynciomodule.c
Modules/_weakref.c
Objects/dictobject.c