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 jimjjewett
Recipients asvetlov, jimjjewett, kristjan.jonsson, pitrou, stutzbach
Date 2010-11-29.20:47:00
SpamBayes Score 0.00017962184
Marked as misclassified No
Message-id <1291063624.87.0.0433201188194.issue10576@psf.upfronthosting.co.za>
In-reply-to
Content
I like the idea, but I do quibble with the signature.  As nearly as I can tell, you're assuming

(a)  Only one callback.  I would prefer a sequence of callbacks, to make cooperation easier.  (This does mean you would need a callback removal, instead of just setting it to None.)

(b)  The callback will be called once before collecting generations, and once after (with the number of objects that weren't collected).  Should these be separate callbacks, rather than the same one with a boolean?  And why does it need the number of uncollected objects?  (This might be a case where Practicality Beats Purity, but it is worth documenting.)
History
Date User Action Args
2010-11-29 20:47:04jimjjewettsetrecipients: + jimjjewett, pitrou, kristjan.jonsson, stutzbach, asvetlov
2010-11-29 20:47:04jimjjewettsetmessageid: <1291063624.87.0.0433201188194.issue10576@psf.upfronthosting.co.za>
2010-11-29 20:47:00jimjjewettlinkissue10576 messages
2010-11-29 20:47:00jimjjewettcreate