Message103541
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 |
|
Date |
User |
Action |
Args |
2010-04-18 22:25:48 | abacabadabacaba | set | recipients:
+ abacabadabacaba, rhettinger |
2010-04-18 22:25:48 | abacabadabacaba | set | messageid: <1271629548.81.0.0198053721014.issue8420@psf.upfronthosting.co.za> |
2010-04-18 22:25:47 | abacabadabacaba | link | issue8420 messages |
2010-04-18 22:25:47 | abacabadabacaba | create | |
|