Antoine Pitrou <solipsis <at> pitrou.net> writes:
> 
> I was thinking a flag in the PyObject header would do the trick but there
> aren't any flags in the PyObject header... *gasp*.

Actually, we only care about GC-tracked objects (the others are deallocated
simply when their refcount falls to zero), so this could be another special
value in the gc_refs field, together with a specific macro.



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to