[issue22911] Segfault on recursive itertools.chain.from_iterable

2014-11-21 Thread Ian Kelly
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) --

[issue22911] Segfault on recursive itertools.chain.from_iterable

2014-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue14010. -- nosy: +serhiy.storchaka resolution: - duplicate stage: - resolved status: open - closed superseder: - deeply nested filter segfaults ___ Python tracker