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 stutzbach
Recipients BreamoreBoy, ajaksu2, amaury.forgeotdarc, benjamin.peterson, flox, jackdied, pitrou, stutzbach
Date 2010-08-18.14:42:00
SpamBayes Score 0.00030433445
Marked as misclassified No
Message-id <1282142526.99.0.735417114968.issue2521@psf.upfronthosting.co.za>
In-reply-to
Content
Benjamin,

Thanks for the feedback.  Since you only commented on the test case, may I assume that the fix itself looked good to you?

I will work on revising the test case based on your comments.  Since I ran into the bug while working with the ABCs in the collections module, that biased my thinking when writing the test.  :-)  

I needed to define__len__ because it's an abstract method in the ABC I used in the test (collections.Sized).  I found that overriding it again in a sub-sub-class and calling it were necessary to trigger all of the ABC machinery leading to the leak.
History
Date User Action Args
2010-08-18 14:42:07stutzbachsetrecipients: + stutzbach, amaury.forgeotdarc, pitrou, jackdied, ajaksu2, benjamin.peterson, flox, BreamoreBoy
2010-08-18 14:42:06stutzbachsetmessageid: <1282142526.99.0.735417114968.issue2521@psf.upfronthosting.co.za>
2010-08-18 14:42:01stutzbachlinkissue2521 messages
2010-08-18 14:42:00stutzbachcreate