Kaydet (Commit) d7ceb222 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Patch #671459: Invoke import hooks in Py_NewInterpreter.

üst f196a0a4
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment