gh-102660: Handle m_copy Specially for the sys and builtins Modules by ericsnowcurrently · Pull Request #102661 · python/cpython
added 2 commits
Fidget-Spinner pushed a commit to Fidget-Spinner/cpython that referenced this pull request
…ules (pythongh-102661) It doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came up while working on pythongh-101660.) Note that we might instead end up disallowing re-load for sys/builtins since they are so special. python#102660
Fidget-Spinner pushed a commit to Fidget-Spinner/cpython that referenced this pull request
warsaw pushed a commit to warsaw/cpython that referenced this pull request
…ules (pythongh-102661) It doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came up while working on pythongh-101660.) Note that we might instead end up disallowing re-load for sys/builtins since they are so special. python#102660
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