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 behzad.nouri
Recipients behzad.nouri, rhettinger
Date 2015-05-10.23:29:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431300566.37.0.270341851913.issue24161@psf.upfronthosting.co.za>
In-reply-to
Content
> That works for builtin types but not for user defined classes

> Rather than using PyIter_Check(), extensions should just call next() on object and see whether it succeeds

but then, what would be the use case of PyIter_Check outside of python core?
History
Date User Action Args
2015-05-10 23:29:26behzad.nourisetrecipients: + behzad.nouri, rhettinger
2015-05-10 23:29:26behzad.nourisetmessageid: <1431300566.37.0.270341851913.issue24161@psf.upfronthosting.co.za>
2015-05-10 23:29:26behzad.nourilinkissue24161 messages
2015-05-10 23:29:26behzad.nouricreate