Message157571
| 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.) |
|