Message157571
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.) |
|
Date |
User |
Action |
Args |
2012-04-05 11:55:28 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, tim.peters, loewis, rhettinger, amaury.forgeotdarc, pitrou, dstanek, stutzbach |
2012-04-05 11:55:28 | kristjan.jonsson | set | messageid: <1333626928.49.0.909415069769.issue9141@psf.upfronthosting.co.za> |
2012-04-05 11:55:27 | kristjan.jonsson | link | issue9141 messages |
2012-04-05 11:55:27 | kristjan.jonsson | create | |
|