Patch #671459: Invoke import hooks in Py_NewInterpreter.

This commit is contained in:
Martin v. Löwis 2003-01-22 09:00:38 +00:00
parent f196a0a4dd
commit d7ceb222bd

View File

@ -338,6 +338,7 @@ Py_NewInterpreter(void)
PySys_SetPath(Py_GetPath());
PyDict_SetItemString(interp->sysdict, "modules",
interp->modules);
_PyImportHooks_Init();
initmain();
if (!Py_NoSiteFlag)
initsite();