homepage

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 daniel.urban
Recipients amaury.forgeotdarc, dangyogi, daniel.urban, hagen, kcarnold, terry.reedy
Date 2011年03月07日.07:21:24
SpamBayes Score 3.6884867e-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

AltStyle によって変換されたページ (->オリジナル) /