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 rhettinger
Recipients CWRU_Researcher1, rhettinger
Date 2008-11-29.18:17:31
SpamBayes Score 4.2666867e-05
Marked as misclassified No
Message-id <1227982652.55.0.19733450059.issue4462@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-11-29 18:17:32rhettingersetrecipients: + rhettinger, CWRU_Researcher1
2008-11-29 18:17:32rhettingersetmessageid: <1227982652.55.0.19733450059.issue4462@psf.upfronthosting.co.za>
2008-11-29 18:17:31rhettingerlinkissue4462 messages
2008-11-29 18:17:31rhettingercreate