Skip to content

Move interned dictionary to global runtime state #96075

Description

@kumaraditya303

As part of the subinterpreter efforts, all the runtime state which is global should be under single global variable rather than static variables in random C source files. Since interned dict must be global and not per-interpreter it should be moved to _PyRuntime. We would likely add a lock around accessing and make it immortal for interpreter GIL but that's for a different PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions