Is this a bug with __del__()

Alex new_name at mit.edu
Thu May 24 13:28:08 EDT 2001


> Why does the __del__ get called for a class when all I am doing is
> creating an object? It seems to be a problem..

Probably because the object you've created gets destroyed when python
cleans up prior to exiting.

Alex.



More information about the Python-list mailing list