Skip to content

[3.14] gh-116738: Make _heapq module thread-safe (GH-135036) - #135309

Merged
colesbury merged 1 commit into
python:3.14from
miss-islington:backport-a58026a-3.14
Jun 16, 2025
Merged

[3.14] gh-116738: Make _heapq module thread-safe (GH-135036)#135309
colesbury merged 1 commit into
python:3.14from
miss-islington:backport-a58026a-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jun 9, 2025

Copy link
Copy Markdown
Contributor

Use critical sections to make heapq methods that update the heap thread-safe when the GIL is disabled.


(cherry picked from commit a58026a)

Co-authored-by: Alper alperyoney@fb.com
Co-authored-by: mpage mpage@meta.com

Use critical sections to make heapq methods that update the heap thread-safe when the GIL is disabled.
---------
(cherry picked from commit a58026a)
Co-authored-by: Alper <alperyoney@fb.com>
Co-authored-by: mpage <mpage@meta.com>
@colesbury
colesbury merged commit 964c29d into python:3.14Jun 16, 2025
@miss-islington
miss-islington deleted the backport-a58026a-3.14 branch January 2, 2026 18:05
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@colesbury@yoney