New submission from Terry J. Reedy:

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.

----------
messages: 231534
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: Crash with itertools
type: crash
versions: Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22920>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to