Is this a bug with __del__()

Chris Emerson cemerson at
Fri May 25 11:39:48 CEST 2001

In article <3b0d6b31.1698907 at>,
Costas Menico <costas at> wrote:
> I should have mentioned it. I am using PythonWin version 2.1 on
> windows 95 downloaded from ActiveState. 
> I think PythonWin keeps the object around and when I run it the second
> time I get the delete first and then the program end.

So on the second run, it deletes the object from the first run while
assigning to the variable.  Hence the deletion before the end of the
program.  Does that sound about right?


Chris Emerson, obsessed Cambridge juggler
E-mail: cemerson at
Web page:

More information about the Python-list mailing list