Issue 22911: Segfault on recursive itertools.chain.from_iterable
Issue22911
Created on 2014-11-21 18:42 by ikelly, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg231489 - (view) | Author: Ian Kelly (ikelly) | Date: 2014-11-21 18:42 | |
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) |
|||
| msg231491 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2014-11-21 19:08 | |
This is a duplicate of issue14010. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:10 | admin | set | github: 67100 |
| 2014-11-21 19:08:29 | serhiy.storchaka | set | status: open -> closed superseder: deeply nested itertools objects segfault nosy:
+ serhiy.storchaka |
| 2014-11-21 18:42:52 | ikelly | create | |
