Message76616
PyObject *hook = PyList_GetItem(meta_path, i);
loader = PyObject_CallMethod(hook, "find_module",
"sO", fullname, path != NULL ? path : Py_None);
The "hook" pointer is checked for NULL in PyObject_CallMethod() -- see
line 1947 in Objects/abstract.c. The hook is a general object
(hopefully with a find_module() method), not a string. |
|
Date |
User |
Action |
Args |
2008-11-29 18:17:32 | rhettinger | set | recipients:
+ rhettinger, CWRU_Researcher1 |
2008-11-29 18:17:32 | rhettinger | set | messageid: <1227982652.55.0.19733450059.issue4462@psf.upfronthosting.co.za> |
2008-11-29 18:17:31 | rhettinger | link | issue4462 messages |
2008-11-29 18:17:31 | rhettinger | create | |
|