Finding cycles and garbage, was( RE: Python Productivity over C++)
Neil Schemenauer
nascheme at enme.ucalgary.ca
Fri Jun 9 12:36:44 EDT 2000
Mike Fletcher <mfletch at tpresence.com> wrote:
>Hmm, Neil's patch doesn't seem to be compatible with Stackless?
I had ported a patch a few months ago. The current patch will
not apply without some work.
>I'm looking for something lower-level, like the VC++ feature
>where, at the end of the run, the debugger says "hey, as I was
>doing shutdown, I noticed that the following objects (including
>strings, floats, etceteras) were still in memory, that's
>probably not what you wanted".
Py_TRACE_REFS is what you want. It should be available in
stackless too. Look in Include/object.h.
Neil
More information about the Python-list
mailing list