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:21:54
SpamBayes Score 2.6197866e-05
Marked as misclassified No
Message-id <1227982914.97.0.753179164141.issue4464@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-11-29 18:21:55rhettingersetrecipients: + rhettinger, CWRU_Researcher1
2008-11-29 18:21:54rhettingersetmessageid: <1227982914.97.0.753179164141.issue4464@psf.upfronthosting.co.za>
2008-11-29 18:21:54rhettingerlinkissue4464 messages
2008-11-29 18:21:54rhettingercreate