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:25:24
SpamBayes Score 0.0104295
Marked as misclassified No
Message-id <>
Python/import.c lines: 1078-1082:

	for (j = 0; j < nhooks; j++) {
		PyObject *hook = PyList_GetItem(path_hooks, j);
		if (hook == NULL)
			return NULL;
		importer = PyObject_CallFunctionObjArgs(hook, p, NULL);

The "hook" object is supposed to be a callable, not a string.  The code
for PyList_GetItem() does its own argument checking.
Date User Action Args
2008-11-29 18:25:25rhettingersetrecipients: + rhettinger, CWRU_Researcher1
2008-11-29 18:25:25rhettingersetmessageid: <>
2008-11-29 18:25:24rhettingerlinkissue4463 messages
2008-11-29 18:25:24rhettingercreate