[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 249ba942a6d4 by Raymond Hettinger in branch '3.3': Issue #19005: Fix documentation for PyIter_Next(). http://hg.python.org/cpython/rev/249ba942a6d4 -- ___ Python tracker

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0820e8394d96 by Raymond Hettinger in branch '2.7': Issue #19005: Fix documentation for PyIter_Next(). http://hg.python.org/cpython/rev/0820e8394d96 -- nosy: +python-dev ___ Python tracker

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- components: +Documentation -Interpreter Core type: crash -> versions: +Python 2.7, Python 3.4 ___ Python tracker ___ __

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-10-09 Thread Raymond Hettinger
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 __

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-09-13 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-09-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19005] PyIter_Next crashes if passed a non-iterator

2013-09-11 Thread Evgeny Kapun
New submission from Evgeny Kapun: According to the documentation, PyIter_Next should raise TypeError if passed an object which is not an iterator as an argument. Instead, it calls a function through a null pointer, which leads to a crash. -- components: Interpreter Core messages: 19748