Skip to content

[3.15] gh-149162: Use _Py_LOCK_DONT_DETACH in intern_common (gh-149164)#153814

Merged
nascheme merged 1 commit into
python:3.15from
miss-islington:backport-f62050d-3.15
Jul 16, 2026
Merged

[3.15] gh-149162: Use _Py_LOCK_DONT_DETACH in intern_common (gh-149164)#153814
nascheme merged 1 commit into
python:3.15from
miss-islington:backport-f62050d-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Avoids potential deadlocks with C++ static local initialization in
extensions that call PyUnicode_InternFromString during one-time
initialization.
(cherry picked from commit f62050d)

Co-authored-by: Sam Gross colesbury@gmail.com

…149164)

Avoids potential deadlocks with C++ static local initialization in
extensions that call PyUnicode_InternFromString during one-time
initialization.
(cherry picked from commit f62050d65743f0c895f7e6d665936c4e86aa39d5)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@nascheme
nascheme merged commit 38c3f11 into python:3.15 Jul 16, 2026
57 checks passed
@miss-islington
miss-islington deleted the backport-f62050d-3.15 branch July 16, 2026 18:59
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