[issue19005] PyIter_Next crashes if passed a non-iterator

Raymond Hettinger report at bugs.python.org
Thu Oct 10 07:22:54 CEST 2013


Raymond Hettinger added the comment:

This is a documentation bug.  As you noted, the input must be an iterator. It is up to the C programmer to assure this precondition is met.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19005>
_______________________________________


More information about the Python-bugs-list mailing list