Jim Jewett wrote:

> Given this complexity, what advantage would it have over __del__, let
> alone __close__?

It wouldn't constitute an attractive nuisance, since
it would force you to think about which pieces of
information the finalizer really needs. This is
something you need to do anyway if you're to ensure
you don't get into trouble using __del__.

The supposed "easiness" of __del__ is really just
sloppiness that will turn around and bite you
eventually (if you'll excuse the mixed metaphor).

--
Greg
_______________________________________________
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