Message76497
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'. |
|
Date |
User |
Action |
Args |
2008-11-27 12:53:32 | mrts | set | recipients:
+ mrts |
2008-11-27 12:53:31 | mrts | set | messageid: <1227790411.99.0.728276334373.issue4438@psf.upfronthosting.co.za> |
2008-11-27 12:53:31 | mrts | link | issue4438 messages |
2008-11-27 12:53:30 | mrts | create | |
|