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 dmalcolm
Recipients dmalcolm, pitrou
Date 2011-01-10.23:57:31
SpamBayes Score 4.298793e-07
Marked as misclassified No
Message-id <1294703855.14.0.313697273871.issue9263@psf.upfronthosting.co.za>
In-reply-to
Content
Attaching updated version of the patch.

I've added a selftest which (in a sacrificial subprocess) abuses ctypes to break an ob_refcnt, and then triggers a garbage collection.

I also changed the printing to stderr to directly use fprintf and fflush to ensure that data leaves the process before abort kills it (not sure if this is a cross-platform or unicode no-no, though).
History
Date User Action Args
2011-01-10 23:57:35dmalcolmsetrecipients: + dmalcolm, pitrou
2011-01-10 23:57:35dmalcolmsetmessageid: <1294703855.14.0.313697273871.issue9263@psf.upfronthosting.co.za>
2011-01-10 23:57:33dmalcolmlinkissue9263 messages
2011-01-10 23:57:32dmalcolmcreate