[Python-Dev] Bizarre new test failure
Neil Schemenauer
nas@python.ca
Fri, 7 Jun 2002 09:33:27 -0700
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Attached is a little program that triggers the behavior. The CVS change
I finally narrowed in on was the addition of similar code to test_descr.
A reference counting bug is still by best guess. Guido?
Neil
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gcbug.py"
import gc
gc.disable()
def main():
# must be inside function scope
class A(object):
def __init__(self):
self.__super = super(A, self)
A()
main()
print 'first collect', gc.collect()
print 'second collect', gc.collect()
--liOOAslEiF7prFVr--