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 kristjan.jonsson
Recipients amaury.forgeotdarc, dstanek, kristjan.jonsson, loewis, pitrou, rhettinger, stutzbach, tim.peters
Date 2012-04-05.11:55:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333626928.49.0.909415069769.issue9141@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a completely new patch.  This approach uses the already existing tp_is_gc enquiry slot to signal garbage collection.
The patch modifies the generator object to use this new mechanism.
The patch keeps the old PyGen_NeedsFinalizing() API, but this can now go away, unless people think it might be used in extension modules 

(why do we always expose all those internal apis from the dll? I wonder.)
History
Date User Action Args
2012-04-05 11:55:28kristjan.jonssonsetrecipients: + kristjan.jonsson, tim.peters, loewis, rhettinger, amaury.forgeotdarc, pitrou, dstanek, stutzbach
2012-04-05 11:55:28kristjan.jonssonsetmessageid: <1333626928.49.0.909415069769.issue9141@psf.upfronthosting.co.za>
2012-04-05 11:55:27kristjan.jonssonlinkissue9141 messages
2012-04-05 11:55:27kristjan.jonssoncreate