[New-bugs-announce] [issue14507] Segfault with starmap and izip combo
Per Myren
report at bugs.python.org
Thu Apr 5 14:28:38 CEST 2012
New submission from Per Myren <progrper at gmail.com>:
The following code crashes with a segfault on Python 2.7.2:
from operator import add
from itertools import izip, starmap
a = b = [1]
for i in xrange(100000):
a = starmap(add, izip(a, b))
list(a)
It also crashes with Python 3.2.2:
from operator import add
from itertools import starmap
a = b = [1]
for i in range(100000):
a = starmap(add, zip(a, b))
list(a)
----------
components: Library (Lib)
messages: 157576
nosy: progrper
priority: normal
severity: normal
status: open
title: Segfault with starmap and izip combo
type: crash
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14507>
_______________________________________
More information about the New-bugs-announce
mailing list