[Python-checkins] python/dist/src/Python pythonrun.c,2.174,2.175

loewis@users.sourceforge.net loewis@users.sourceforge.net
Wed, 22 Jan 2003 01:00:48 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv23735

Modified Files:
	pythonrun.c 
Log Message:
Patch #671459: Invoke import hooks in Py_NewInterpreter.


Index: pythonrun.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.174
retrieving revision 2.175
diff -C2 -d -r2.174 -r2.175
*** pythonrun.c	31 Dec 2002 03:42:12 -0000	2.174
--- pythonrun.c	22 Jan 2003 09:00:38 -0000	2.175
***************
*** 339,342 ****
--- 339,343 ----
  		PyDict_SetItemString(interp->sysdict, "modules",
  				     interp->modules);
+ 		_PyImportHooks_Init();
  		initmain();
  		if (!Py_NoSiteFlag)