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

[3.14] gh-149162: Use _Py_LOCK_DONT_DETACH in intern_common (gh-149164)#153815
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>
@nascheme nascheme merged commit f5c4880 into python:3.14 Jul 16, 2026
51 checks passed
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.

2 participants