phil <[EMAIL PROTECTED]> writes: > By the way, I understand that __del__ is only called when the last > reference to an instance is deled. That's fine, if consistent.
Actually, __del__ is called when the instance is garbage collected. Exactly when that is is implementation dependent. In the implementation you happen to be using, it'll happen when the last reference is deleted. But depending on this makes your code less portable. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list