[issue13454] crash when deleting one pair from tee()

Pyry Pakkanen report at bugs.python.org
Tue Nov 22 17:10:45 CET 2011


New submission from Pyry Pakkanen <frostburn at suomi24.fi>:

Running the following results in a Segmentation fault on Ubuntu 11.10 64-bit with both python and python3.

from itertools import *
c = count()
a,b = tee(c)
for i in range(10000000):
 next(a)
del(b)

----------
messages: 148124
nosy: PyryP
priority: normal
severity: normal
status: open
title: crash when deleting one pair from tee()
type: crash
versions: Python 2.7, Python 3.2

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


More information about the Python-bugs-list mailing list