Marko Rauhamaa wrote:

> Grant Edwards <invalid@invalid.invalid>:
> 
>> the polite thing to do is to delete references to it when you're done
>> with it.
> 
> I disagree with that recommendation. You should do the natural thing and
> not care who holds references to who.

I don't understand this. What is "the natural thing" if not to delete
references to an object when you are done with it? Normally you just let
things go out of scope, but if that won't happen, you have to take active
steps, such as calling del or setting the reference to None.


-- 
Steven

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to