[Patches] [ python-Patches-671459 ] Py_NewInterpreter missing new import hooks
SourceForge.net
noreply@sourceforge.net
Tue, 21 Jan 2003 14:08:39 -0800
Patches item #671459, was opened at 2003-01-21 00:22
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=671459&group_id=5470
Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Josh Hoyt (joshhoyt)
>Assigned to: Just van Rossum (jvr)
Summary: Py_NewInterpreter missing new import hooks
Initial Comment:
Py_NewInterpreter does not add meta_path to the sys
module, causing find_module to fail. The symptom is the
failure of importing the site module in the new
interpreter. Calling _PyImportHooks_Init sets up the
sys module for this interpreter to have the proper
attributes.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-01-21 23:08
Message:
Logged In: YES
user_id=21627
This patch looks quite right to me. Just, any objections?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=671459&group_id=5470