[New-bugs-announce] [issue21984] list(itertools.repeat(1)) causes the system to hang

James Paget report at bugs.python.org
Tue Jul 15 00:01:00 CEST 2014


New submission from James Paget:

In Python 3.4, type:

>>> import itertools
>>> list(itertools.repeat(1))

The system will hang, and a cold reboot is necessary (at least on Windows).  I expected some sort of "infinite list" exception to be thrown.

----------
components: Extension Modules
messages: 223063
nosy: James.Paget
priority: normal
severity: normal
status: open
title: list(itertools.repeat(1)) causes the system to hang
type: crash
versions: Python 3.4

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


More information about the New-bugs-announce mailing list