Message109248
> All this patch does, is to generalize the mechanism already provided
> for genobject.c (by PyGen_NeedsFinalizing()), to any object: Any
> object can signal to gc that: a) it is ok to collect a cycle with me
> in it, or b) no, it is unsafe to do so. With this patch in place,
> PyGen_NeedsFinalizing() no longer needs to be a special case in
> gcmodule.c.
Adding an API function and an additional traversal pass to the GC just
for the sake of removing a special case doesn't seem reasonable to me.
That's why I'm asking what specific problem you are trying to solve.
(rather than simply trying to make things "nicer") |
|
Date |
User |
Action |
Args |
2010-07-04 17:59:13 | pitrou | set | recipients:
+ pitrou, tim.peters, kristjan.jonsson |
2010-07-04 17:59:11 | pitrou | link | issue9141 messages |
2010-07-04 17:59:11 | pitrou | create | |
|