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 rhettinger
Recipients pkt, rhettinger
Date 2015-05-01.16:55:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430499309.46.0.0236457517727.issue24100@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-05-01 16:55:09rhettingersetrecipients: + rhettinger, pkt
2015-05-01 16:55:09rhettingersetmessageid: <1430499309.46.0.0236457517727.issue24100@psf.upfronthosting.co.za>
2015-05-01 16:55:09rhettingerlinkissue24100 messages
2015-05-01 16:55:09rhettingercreate