SIGN IN SIGN UP

gh-81057: Move PyImport_Inittab to _PyRuntimeState (gh-99402)

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.

https://github.com/python/cpython/issues/81057
E
Eric Snow committed
7f3a4b967cfb1596a3fda6c34f900f8586b16700
Parent: 67807cf
Committed by GitHub <noreply@github.com> on 11/12/2022, 12:06:05 AM