No destructor

peter.foreman peter.foreman at tinyworld.co.uk
Mon Aug 21 17:31:21 EDT 2000


Thanks for the replies, I must have mis-interpreted something I've read.

How does Python < 2.0 handle circular references?  Is the programmer
expected to handle them via weak refs etc?


Erik Max Francis <max at alcyone.com> wrote in message
news:39A19954.57408AA3 at alcyone.com...
> Pete Shinners wrote:
>
> > be aware that there are cases where the destructor will never
> > be called. i can't remember what they are (don't have my book
> > in front of me). but i do remember reading they weren't
> > guaranteed to be called, and there were a couple of cases.
>
> Circular references, do you mean?
>
> --
>  Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ To be refutable is not the least charm of a theory.
> \__/ Friedrich Nietzsche
>     blackgirl international / http://www.blackgirl.org/
>  The Internet resource for black women.





More information about the Python-list mailing list