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 ebfe
Recipients Yury.Selivanov, asvetlov, ebfe, jimjjewett, kristjan.jonsson, lehmannro, pitrou, stutzbach
Date 2010-12-27.07:25:26
SpamBayes Score 0.0019399497
Marked as misclassified No
Message-id <1293434732.09.0.0467622627564.issue10576@psf.upfronthosting.co.za>
In-reply-to
Content
Agreed, let's have the simple callback first.

To solve 2) later on, we could have the callback proposed here be the 'execution'-callback. It neither has nor will have the capability to prevent garbage-collection.
We can introduce another 'prepare'-callback later which is called when the gc-modules decides that it is time for collection. Callbacks may react with a negative value so execution does not happen and the execution-callbacks are also never called.
History
Date User Action Args
2010-12-27 07:25:32ebfesetrecipients: + ebfe, jimjjewett, pitrou, kristjan.jonsson, lehmannro, stutzbach, asvetlov, Yury.Selivanov
2010-12-27 07:25:32ebfesetmessageid: <1293434732.09.0.0467622627564.issue10576@psf.upfronthosting.co.za>
2010-12-27 07:25:26ebfelinkissue10576 messages
2010-12-27 07:25:26ebfecreate