Unbound names in __del__
peter at engcorp.com
Fri Jun 17 14:43:26 CEST 2005
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
And I don't recall the last time I saw a __del__ in third-party code I
What's your use case for del?
More information about the Python-list