[Python-Dev] interning

Tim Peters tim.one@comcast.net
Sat, 10 Aug 2002 17:22:36 -0400


[Guido]
> ...
> But none of the changes to C files made in the last month made any
> difference...  The difference is test_gc.py itself!  With a checkout
> from a month ago, if I change the classes in test_finalizer() and
> test_del() to be new-style classes, I get the same warnings.
>
> Maybe Tim understands the problem now?  (Summary: why do I get the
> Warning below.)
>
> $ ./python ../Lib/test/regrtest.py -l test_gc
> test_gc
> Warning: test created 20 uncollectable object(s).
> 1 test OK.
> $

I think this was shallow, and checked in a change (to test_saveall()) that I
believe fixes it.  Update and try again?