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 abacabadabacaba
Recipients abacabadabacaba, rhettinger
Date 2010-04-18.22:25:47
SpamBayes Score 0.00027083905
Marked as misclassified No
Message-id <1271629548.81.0.0198053721014.issue8420@psf.upfronthosting.co.za>
In-reply-to
Content
This code crashes python by using another bug in set_repr. This only affects py3k. This code relies on out-of-memory condition, so run it like:
$ (ulimit -v 65536 && python3 test.py)
Otherwise, it will eat all your free memory before crashing.

val = "a" * 10000
class big:
	def __repr__(self):
		return val
i = 16
while True:
	repr(frozenset(big() for j in range(i)))
	i = (i * 5) >> 2
History
Date User Action Args
2010-04-18 22:25:48abacabadabacabasetrecipients: + abacabadabacaba, rhettinger
2010-04-18 22:25:48abacabadabacabasetmessageid: <1271629548.81.0.0198053721014.issue8420@psf.upfronthosting.co.za>
2010-04-18 22:25:47abacabadabacabalinkissue8420 messages
2010-04-18 22:25:47abacabadabacabacreate