diff options
-rw-r--r-- | Python/pythonrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index fba3ade..3aa63e9 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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(); |