Author pitrou
Recipients ajaksu2, amaury.forgeotdarc, flox, pitrou, stutzbach
Date 2010-03-30.23:38:19
SpamBayes Score 2.0421e-05
Marked as misclassified No
Message-id <1269992301.95.0.379697735666.issue2521@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, Daniel, your patch doesn't look right.
First, you shouldn't need all the sortedlist/sortedset hierarchy.
Second, len(gc.get_objects()) is a truly horrible way of checking the classes have been destroyed. Just take a weakref to the class before deleting it, and check that calling the weakref returns None.
(besides, we also have a refleak-detection run (regrtest -R) which can detect leaks even if you don't check them explicitly in your tests)
History
Date User Action Args
2010-03-30 23:38:22pitrousetrecipients: + pitrou, amaury.forgeotdarc, ajaksu2, stutzbach, flox
2010-03-30 23:38:21pitrousetmessageid: <1269992301.95.0.379697735666.issue2521@psf.upfronthosting.co.za>
2010-03-30 23:38:19pitroulinkissue2521 messages
2010-03-30 23:38:19pitroucreate