-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
gh-81057: Move the Extension Modules Cache to _PyRuntimeState #99355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ericsnowcurrently
merged 6 commits into
python:main
from
ericsnowcurrently:extensions-cache
Nov 11, 2022
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e21e012
Add a comment describing PyInterpreterState.modules_by_index.
ericsnowcurrently 453ca0e
Add comments describing the PyModuleDef_Base fields.
ericsnowcurrently 3b93ab9
Add _PyRuntimeState.imports.extensions.
ericsnowcurrently b3e3f45
Switch to _extensions_cache_*().
ericsnowcurrently 1663bfc
Add _PyRuntimeState.imports.last_module_index.
ericsnowcurrently 67dff4d
Refer to the modules_by_index comment.
ericsnowcurrently File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also move the global import lock to runtime state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's next. :)