Felipe Almeida Lessa schrieb: >>>>del B >>>># We'll to tell him to collect the garbage here, but > > ... # usually it should not be necessary.
Thanks. If I do del B then the __del__ of A gets called. That surprises me. I thought that B gets del'd by python when it goes out of scope? Do I manually have to del all class objects, so that their class attributes get gc'd ???? -- Gregor -- http://mail.python.org/mailman/listinfo/python-list