Message76617
Python/codecs.c line 144-147:
func = PyList_GetItem(interp->codec_search_path, i);
if (func == NULL)
goto onError;
result = PyEval_CallObject(func, args);
The "func" result is expected to be a callable, not a string.
The code for PyList_GetItem does the list check. |
|
Date |
User |
Action |
Args |
2008-11-29 18:21:55 | rhettinger | set | recipients:
+ rhettinger, CWRU_Researcher1 |
2008-11-29 18:21:54 | rhettinger | set | messageid: <1227982914.97.0.753179164141.issue4464@psf.upfronthosting.co.za> |
2008-11-29 18:21:54 | rhettinger | link | issue4464 messages |
2008-11-29 18:21:54 | rhettinger | create | |
|