Is that a memory leak ?
neal at metaslash.com
Fri Jan 24 15:28:25 CET 2003
On Thu, 23 Jan 2003 22:27:39 -0500, Skip Montanaro wrote:
> vonstroheim> if I repeatedly enter:
> vonstroheim> class A(object):pass
> vonstroheim> the number of REFS raises and so does the value
> returned by vonstroheim> len(gc.get_objects()) vonstroheim> (even if
> I use gc.collect())
> Can't reproduce on MacOSX using 2.2.2 or latest CVS. Does it leak when
> run in a non-debug build?
I get the reference count increasing, but memory doesn't grow (with
2.2.2+). With the latest CVS, memory also doesn't increase. I haven't
tested the latest with a debug build yet.
More information about the Python-list