This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Crash with itertools.chain.from_iterable
Type: crash Stage: test needed
Components: Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: deeply nested itertools objects segfault
View: 14010
Assigned To: Nosy List: ethan.furman, rhettinger, terry.reedy
Priority: normal Keywords:

Created on 2014-11-22 21:56 by terry.reedy, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (1)
msg231534 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2014-11-22 21:56
import itertools

l = []
it = itertools.chain.from_iterable(l)
l.append(it)
next(it)

Ian Kelly (python-list, version unspecified) got "Segmentation fault (core dumped)".  With 2.7, 3.4.2, 3.5, I get same in interactive interpreter, the Windows "python has stopped working" box from console, or subprocess hang with Idle.
History
Date User Action Args
2022-04-11 14:58:10adminsetgithub: 67109
2014-11-22 22:03:50ethan.furmansetstatus: open -> closed
nosy: + ethan.furman
superseder: deeply nested itertools objects segfault
resolution: duplicate
2014-11-22 21:59:35terry.reedysettitle: Crash with itertools -> Crash with itertools.chain.from_iterable
2014-11-22 21:56:51terry.reedysetnosy: + rhettinger
2014-11-22 21:56:28terry.reedycreate