]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 Jul 2024 17:30:58 +0000 (19:30 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2024 17:30:58 +0000 (17:30 +0000)
commit77ab53a5f345c705eba9a9ad38d27548adbe670e
tree788a3c4bcc346fdd3f66873a24420220289841b5
parent214b430fafc49f9977c251178c61794b4caad347
[3.13] gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (GH-122139) (#122186)

gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (GH-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.
(cherry picked from commit a15feded71dd47202db169613effdafc468a8cf3)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Include/internal/pycore_dict.h
Modules/_asynciomodule.c
Modules/_weakref.c
Objects/dictobject.c