[pypy-issue] [issue1182] [cpyext] PyObject_GetIter() does not validate the iterator it returns

Amaury Forgeot d Arc tracker at bugs.pypy.org
Mon Jun 18 21:46:05 CEST 2012


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

Actually, there is a validation: space.iter() checks that the returned object has 
a next() method. That's good enough for this function.
tp_iternext should indeed be filled, but this belongs to the other issue.

----------
nosy: +afa
status: unread -> wontfix

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1182>
________________________________________


More information about the pypy-issue mailing list