From d7ceb222bd19ea25b0b4d234623df0a9f73c96b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 22 Jan 2003 09:00:38 +0000 Subject: [PATCH] Patch #671459: Invoke import hooks in Py_NewInterpreter. --- Python/pythonrun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/pythonrun.c b/Python/pythonrun.c index fba3ade8003..3aa63e9432d 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();