[New-bugs-announce] [issue17300] Сrash when deleting deeply recursive islice()

Serhiy Storchaka report at bugs.python.org
Tue Feb 26 11:28:15 CET 2013

New submission from Serhiy Storchaka:


>>> from itertools import islice, count
>>> it = count()
>>> for i in range(1000000):
...     it = islice(it, 0)
>>> del it
Segmentation fault

This looks very similar to the crash in tee() (issue13454).

assignee: serhiy.storchaka
components: Extension Modules
messages: 183041
nosy: rhettinger, serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: Сrash when deleting deeply recursive islice()
type: crash
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list