Message101961
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) |
|
Date |
User |
Action |
Args |
2010-03-30 23:38:22 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, ajaksu2, stutzbach, flox |
2010-03-30 23:38:21 | pitrou | set | messageid: <1269992301.95.0.379697735666.issue2521@psf.upfronthosting.co.za> |
2010-03-30 23:38:19 | pitrou | link | issue2521 messages |
2010-03-30 23:38:19 | pitrou | create | |
|