Raymond Hettinger wrote:

> Is there anything vital that could be done with a __close__ method
> that can't already be done with a weakref callback?  We aren't going
> to need it.

It can't be done with the same cleaness and easyness. It will require more
convoluted and complex code. It will require people to understand weakrefs in
the first place.

Did you actually read my posts where I have shown some legitimate use cases of
__del__ which can't be substituted with short and elegant enough code?

Giovanni Bajo

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to