[issue9141] Allow objects to decide if they can be collected by GC

Daniel Stutzbach report at bugs.python.org
Sat Jul 10 01:11:52 CEST 2010


Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:

I posted some of this earlier in the week, but for some reason the bug tracker marked my message as spam.  Hopefully this message will survive. ;-)

Can you compare and contrast your approach with calling PyObject_GC_UnTrack and PyObject_GC_Track to mark the object as uncollectable/collectable?

I can't speak for anyone else, but speaking as someone who has ungracefully poked into the innards of garbage collector in extension modules, I'm interested in seeing your patches.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9141>
_______________________________________


More information about the Python-bugs-list mailing list