On 11/21/2014 2:30 PM, Zachary Ware wrote:
On Fri, Nov 21, 2014 at 12:37 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
Here's a nice crash. I thought this might similarly produce a
recursion depth error, but no, it's a seg fault!

$ cat test.py
import itertools

l = []
it = itertools.chain.from_iterable(l)
l.append(it)
next(it)
$ python3 test.py
Segmentation fault (core dumped)

Would you mind submitting a bug report for that?  Any segfault
produced by pure Python code must be fixed.

This is too important to lose.
http://bugs.python.org/issue22920


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to