Author daniel.urban
Recipients amaury.forgeotdarc, dangyogi, daniel.urban, hagen, kcarnold, terry.reedy
Date 2011-03-07.07:21:24
SpamBayes Score 3.68849e-08
Marked as misclassified No
Message-id <1299482485.27.0.345200073505.issue4806@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching an updated patch. Instead !PyIter_Check() this patch checks for tp_iter == NULL && !PySequence_Check.  If this condition is false, PyObject_GetIter has a chance to succeed (and if it fails, we shouldn't mask the exception).  I also added more tests which show why the previous patch was incorrect.
History
Date User Action Args
2011-03-07 07:21:25daniel.urbansetrecipients: + daniel.urban, terry.reedy, amaury.forgeotdarc, dangyogi, hagen, kcarnold
2011-03-07 07:21:25daniel.urbansetmessageid: <1299482485.27.0.345200073505.issue4806@psf.upfronthosting.co.za>
2011-03-07 07:21:24daniel.urbanlinkissue4806 messages
2011-03-07 07:21:24daniel.urbancreate