In article <[EMAIL PROTECTED]>,
Patrick Mullen <[EMAIL PROTECTED]> wrote:

>Then again, I can count the number of times I have ever needed __del__
>with no fingers (never used it!).  Still, quite interesting to
>explore.

I used it once, for an object that had a doubly-linked list.
The __del__() method walked the list, setting all the elements'
prev/next pointers to None to make sure the elements of the list would
get garbage-collected.

-- 
        -Ed Falk, [EMAIL PROTECTED]
        http://thespamdiaries.blogspot.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to