Message76618
| Author |
rhettinger |
| Recipients |
CWRU_Researcher1, rhettinger |
| Date |
2008年11月29日.18:25:24 |
| SpamBayes Score |
0.010429505 |
| Marked as misclassified |
No |
| Message-id |
<1227983125.16.0.170235936275.issue4463@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年11月29日 18:25:25 | rhettinger | set | recipients:
+ rhettinger, CWRU_Researcher1 |
| 2008年11月29日 18:25:25 | rhettinger | set | messageid: <1227983125.16.0.170235936275.issue4463@psf.upfronthosting.co.za> |
| 2008年11月29日 18:25:24 | rhettinger | link | issue4463 messages |
| 2008年11月29日 18:25:24 | rhettinger | create |
|