__del__ not called?
g.horvath at gmx.at
Mon Mar 13 09:39:28 CET 2006
Felipe Almeida Lessa schrieb:
>>>># We'll to tell him to collect the garbage here, but
> ... # usually it should not be necessary.
Thanks. If I do
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 ????
More information about the Python-list