Is that a memory leak ?

vonstroheim vonstroheim at
Thu Jan 23 23:55:53 CET 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
(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