Skip to content

Move interned dictionary to global runtime state #96075

Closed
@kumaraditya303

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.

Metadata

Metadata

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions