Message242874
> 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? |
|
Date |
User |
Action |
Args |
2015-05-10 23:29:26 | behzad.nouri | set | recipients:
+ behzad.nouri, rhettinger |
2015-05-10 23:29:26 | behzad.nouri | set | messageid: <1431300566.37.0.270341851913.issue24161@psf.upfronthosting.co.za> |
2015-05-10 23:29:26 | behzad.nouri | link | issue24161 messages |
2015-05-10 23:29:26 | behzad.nouri | create | |
|