Is this a bug with __del__()

Chris Emerson cemerson at chiark.greenend.org.uk
Fri May 25 11:39:48 CEST 2001


In article <3b0d6b31.1698907 at news.cis.dfn.de>,
Costas Menico <costas at meezon.com> 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?

Cheers,

Chris
-- 
Chris Emerson, obsessed Cambridge juggler
E-mail: cemerson at chiark.greenend.org.uk
Web page: http://www.chiark.greenend.org.uk/~cemerson/



More information about the Python-list mailing list