➜

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 <[email protected]>
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: <[email protected]>
2012-04-05 12:28:37progrperlinkissue14507 messages
2012-04-05 12:28:37progrpercreate