Skip to content

gh-100227: Make the Global PyModuleDef Cache Safe for Isolated Interpreters - #102938

Closed
ericsnowcurrently wants to merge 23 commits into
python:mainfrom
ericsnowcurrently:extensions-dict-owned-by-main-interpreter
Closed

ericsnowcurrently wants to merge 23 commits into
python:mainfrom
ericsnowcurrently:extensions-dict-owned-by-main-interpreter

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented Mar 22, 2023 •

Copy link
Copy Markdown
Member

This is a similar change to gh-102925, but applied to the global cache of PyModuleDefs instead of the interned strings. Note that the cache is only used for legacy extension modules and not for multi-phase init modules.

(Until gh-102925 is merged, this is based on top of it.)

@ericsnowcurrently

Copy link
Copy Markdown
Member Author

I'm closing this in favor of gh-103084.

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

2 participants