Unbound names in __del__
bronger at physik.rwth-aachen.de
Fri Jun 17 15:16:38 CEST 2005
Peter Hansen <peter at engcorp.com> writes:
> What's your use case for del?
Every instance represents a "session" to a measurement instrument.
After the instance is deleted, the session should be closed to free
If the program exists, this is actually not necessary, because then
all resources are freed anyway. __del__ is called nevertheless.
Torsten Bronger, aquisgrana, europa vetus
More information about the Python-list