(original) (raw)
On Fri, Sep 24, 2010 at 4:09 PM, "Martin v. Löwis" <martin@v.loewis.de> wrote:
I think it would be possible to have two versions of\_PyGC\_REFS\_UNTRACKED, one being, say, -5.
\_PyGC\_REFS\_UNTRACKED\_AND\_KEEP\_IT\_THAT\_WAY would be what you get
when you call PyObject\_GC\_UnTrack; the code to do automatic
tracking/untracking based on contents would use some other
new API (which would be non-public in 2.7.x).
Where would the extra state information be stored? (to distinguish untracked and untracked-and-keep-it-that-way)
--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC