commit | d7ceb222bd19ea25b0b4d234623df0a9f73c96b5 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Jan 22 09:00:38 2003 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Jan 22 09:00:38 2003 +0000 |
tree | 6a2a3b1c9370921d6d47b9f3d4b54c600bb3f60c | |
parent | f196a0a4dde4327dddda49c194ca5cc28c0db1f5 [diff] |
Patch #671459: Invoke import hooks in Py_NewInterpreter.
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 @@ PySys_SetPath(Py_GetPath()); PyDict_SetItemString(interp->sysdict, "modules", interp->modules); + _PyImportHooks_Init(); initmain(); if (!Py_NoSiteFlag) initsite();