This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author progrper
Recipients progrper
Date 2012-04-05.12:28:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333628918.06.0.633986455545.issue14507@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2012-04-05 12:28:38progrpersetrecipients: + progrper
2012-04-05 12:28:38progrpersetmessageid: <1333628918.06.0.633986455545.issue14507@psf.upfronthosting.co.za>
2012-04-05 12:28:37progrperlinkissue14507 messages
2012-04-05 12:28:37progrpercreate