[issue19005] PyIter_Next crashes if passed a non-iterator

Evgeny Kapun report at bugs.python.org
Wed Sep 11 12:22:22 CEST 2013


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: 197483
nosy: abacabadabacaba
priority: normal
severity: normal
status: open
title: PyIter_Next crashes if passed a non-iterator
type: crash
versions: Python 3.3

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


More information about the Python-bugs-list mailing list