Torsten Bronger wrote: > However, all of this is not pretty pythonic in my opinion. Is it > that exotic to want to call functions from within __del__?
Yes, I think it probably is. In the few hundred thousand lines of Python code I've played a role in developing, we've used __del__ once, to my knowledge, and I believe it was not a critical use, just an expedient one. And I don't recall the last time I saw a __del__ in third-party code I was examining. What's your use case for del? -Peter -- http://mail.python.org/mailman/listinfo/python-list