FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-81057: Move PyImport_Inittab to _PyRuntimeState by ericsnowcurrently · Pull Request #99402 · python/cpython · GitHub

/ cpython Public

gh-81057: Move PyImport_Inittab to _PyRuntimeState - #99402

Merged
ericsnowcurrently merged 5 commits into
python:mainfrom
ericsnowcurrently:imports-inittab
Nov 12, 2022
Merged

gh-81057: Move PyImport_Inittab to _PyRuntimeState#99402
ericsnowcurrently merged 5 commits into
python:mainfrom
ericsnowcurrently:imports-inittab

Conversation

ericsnowcurrently commented Nov 11, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

We actually don't move PyImport_Inittab. Instead, we make a copy that we keep on _PyRuntimeState and use only that after Py_Initialize(). We also prevent folks from modifying PyImport_Inittab (the best we can) after that point.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL