Skip to content

gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters - #102858

Closed
ericsnowcurrently wants to merge 9 commits into
python:mainfrom
ericsnowcurrently:make-global-interned-dict-safe
Closed

gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters#102858
ericsnowcurrently wants to merge 9 commits into
python:mainfrom
ericsnowcurrently:make-global-interned-dict-safe

Conversation

@ericsnowcurrently

@ericsnowcurrentlyericsnowcurrently commented Mar 20, 2023

Copy link
Copy Markdown
Member

This is an alternative to gh-102339, where we keep the interned dict global instead of making it per-interpreter.

@ericsnowcurrently

Copy link
Copy Markdown
MemberAuthor

We make the interned strings immortal separately in gh-102887.

@ericsnowcurrently

Copy link
Copy Markdown
MemberAuthor

This is superceded by gh-102925, except for the part where we add a granular lock, which would need to be taken care of for a per-interpreter GIL.

@ericsnowcurrently
ericsnowcurrently deleted the make-global-interned-dict-safe branch March 22, 2023 22:57
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.

2 participants

@ericsnowcurrently@bedevere-bot