projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f196a0a
)
Patch #671459: Invoke import hooks in Py_NewInterpreter.
author
Martin v. Löwis
<martin@v.loewis.de>
Wed, 22 Jan 2003 09:00:38 +0000
(09:00 +0000)
committer
Martin v. Löwis
<martin@v.loewis.de>
Wed, 22 Jan 2003 09:00:38 +0000
(09:00 +0000)
Python/pythonrun.c
patch
|
blob
|
history
diff --git
a/Python/pythonrun.c
b/Python/pythonrun.c
index fba3ade8003a03396fe1a9fc81fb65ff0cca8e71..3aa63e9432d3690f3eba871f007e12d277a4fa34 100644
(file)
--- 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();