]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-150750: Fix a race condition in `deque.index` with free-threading (GH-15077...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jun 2026 13:58:59 +0000 (15:58 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2026 13:58:59 +0000 (13:58 +0000)
commit42a41cc69ff01239b2cc65f19fbe31417a176445
tree7721e26598aede5ee5d5545a502dcd261a361521
parent253c51837fa0dd0adb7499583d66d726ac921749
[3.15] gh-150750: Fix a race condition in `deque.index` with free-threading (GH-150779) (#150920)

gh-150750: Fix a race condition in `deque.index` with free-threading (GH-150779)
(cherry picked from commit d83d50b5b735cb58e175280d1c27d40c43d535b5)

Co-authored-by: sobolevn <mail@sobolevn.me>
Lib/test/test_deque.py
Lib/test/test_free_threading/test_collections.py
Misc/NEWS.d/next/Library/2026-06-02-14-21-46.gh-issue-150750.SVS2o0.rst [new file with mode: 0644]
Modules/_collectionsmodule.c
Modules/clinic/_collectionsmodule.c.h
Modules/posixmodule.c