Message242333
Paul, this was nice work. Thanks.
Attaching a patch to make 3.4 match the Python 3.5 version of the code which rearranges the object pointers without changing their reference counts.
With that patch, your crasher no longer seg-faults, but gives this instead:
len(L): 112234
__del__
__del__
Exception ignored in: <bound method X.__del__ of <__main__.X object at 0x10efc9080>>
Traceback (most recent call last):
File "heap_crasher.py", line 18, in __del__
IndexError: list index out of range |
|
Date |
User |
Action |
Args |
2015-05-01 16:55:09 | rhettinger | set | recipients:
+ rhettinger, pkt |
2015-05-01 16:55:09 | rhettinger | set | messageid: <1430499309.46.0.0236457517727.issue24100@psf.upfronthosting.co.za> |
2015-05-01 16:55:09 | rhettinger | link | issue24100 messages |
2015-05-01 16:55:09 | rhettinger | create | |
|