Is that a memory leak ?

vonstroheim vonstroheim at my-deja.com
Thu Jan 23 17:55:53 EST 2003


I am using a windows debug 2.2.2 version and I observe the following
behavior in the interactive interpreter:

if I repeatedly enter:
class A(object):pass

the number of REFS raises and so does the value returned by
len(gc.get_objects())
(even if I use gc.collect())

but if i use a 'classic class' : 'class A: pass', no increasing is noticed.
Is that OK or is it a memory leak ?









More information about the Python-list mailing list