[New-bugs-announce] [issue22911] Segfault on recursive itertools.chain.from_iterable

Ian Kelly report at bugs.python.org
Fri Nov 21 19:42:52 CET 2014


New submission from Ian Kelly:

I expect this should result in a recursion depth exceeded error, not a segmentation 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)

----------
components: Library (Lib)
messages: 231489
nosy: ikelly
priority: normal
severity: normal
status: open
title: Segfault on recursive itertools.chain.from_iterable
versions: Python 3.4

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


More information about the New-bugs-announce mailing list