Jeffrey Kintscher <websur...@surf2c.net> added the comment:

Specifically, the crash occurs in Python/ceval.c function 
_PyEval_EvalFrameDefault() in the TARGET(FOR_ITER) case at line 3198 (master 
branch):

PyObject *next = (*iter->ob_type->tp_iternext)(iter);

It segfaults because tp_iternext is NULL.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36956>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to