Skip to content

Comments

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

Merged
colesbury merged 1 commit intopython: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 intopython:3.14from
miss-islington:backport-a58026a-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 9, 2025

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 [email protected]
Co-authored-by: mpage [email protected]

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 <[email protected]>
Co-authored-by: mpage <[email protected]>
@colesbury colesbury merged commit 964c29d into python:3.14 Jun 16, 2025
49 checks passed
@miss-islington miss-islington deleted the backport-a58026a-3.14 branch January 2, 2026 18:05
Sign up for free to 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