This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrts
Recipients mrts
Date 2008-11-27.12:53:30
SpamBayes Score 6.0925807e-09
Marked as misclassified No
Message-id <1227790411.99.0.728276334373.issue4438@psf.upfronthosting.co.za>
In-reply-to
Content
Corrections and clarifications:

 * I'd say labeling the patch naive and "breaking things" was misleading
(there was a breakage that resulted from stale files with incorrect
permissions from my previous build of Python 2.6; after a make distclean
all tests passed as described above). The patch is correct and
backwards-compatible in Python level, but it introduces a change in the
C API:

 PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel(char *name,
-       PyObject *globals, PyObject *locals, PyObject *fromlist, int level);
+       PyObject *globals, PyObject *locals, PyObject *fromlist,
+       int level, char submodule);


 * The patch was made against Python 2.6 release source.

 * The argument is named 'submodule' instead of 'toplevel' to avoid
confusion with 'level'.
History
Date User Action Args
2008-11-27 12:53:32mrtssetrecipients: + mrts
2008-11-27 12:53:31mrtssetmessageid: <1227790411.99.0.728276334373.issue4438@psf.upfronthosting.co.za>
2008-11-27 12:53:31mrtslinkissue4438 messages
2008-11-27 12:53:30mrtscreate