"Daniel Mark" <[EMAIL PROTECTED]> wrote:

> Is there any general rule that we must delete the object after using
> it?

In general: if the object is not destroyed when it goes out of scope (but 
later) and uses precious resources [1], or if a special clean up is 
required, you should delete it explicitly.


[1] like file handles

-- 
John                               MexIT: http://johnbokma.com/mexit/
                           personal page:       http://johnbokma.com/
        Experienced programmer available:     http://castleamber.com/
            Happy Customers: http://castleamber.com/testimonials.html
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to