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 belopolsky
Recipients akitada, belopolsky, christian.heimes, josm, loewis, mark.dickinson, rhettinger, robertwb, zanella
Date 2010-05-01.20:12:21
SpamBayes Score 4.035814e-07
Marked as misclassified No
Message-id <1272744743.76.0.0821631801495.issue1533@psf.upfronthosting.co.za>
In-reply-to
Content
I am attaching a patch which does not crash or leak (as tested with -R :) and adds a unit test for OP's case.

The problem, however is that it does not work if new style classes are used in the test case.  See disabled (with if 0) test in the patch.

I'll give it some more thought.
History
Date User Action Args
2010-05-01 20:12:23belopolskysetrecipients: + belopolsky, loewis, rhettinger, mark.dickinson, christian.heimes, josm, robertwb, zanella, akitada
2010-05-01 20:12:23belopolskysetmessageid: <1272744743.76.0.0821631801495.issue1533@psf.upfronthosting.co.za>
2010-05-01 20:12:22belopolskylinkissue1533 messages
2010-05-01 20:12:22belopolskycreate