Skip to content

[3.14] gh-149162: Use _Py_LOCK_DONT_DETACH in intern_common (gh-149164) - #153815

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

nascheme merged 1 commit into
python:3.14from
nascheme:backport-f62050d-3.14

Conversation

@nascheme

@nascheme nascheme commented Jul 16, 2026 •

Copy link
Copy Markdown
Member

Avoids potential deadlocks with C++ static local initialization in extensions that call PyUnicode_InternFromString during one-time initialization.

(cherry picked from commit f62050d)

…thongh-149164)

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants