__del__ ignores exception in 2.1?

Vassilis Virvilis vasvir at iit.demokritos.gr
Fri Aug 17 19:51:48 EDT 2001


Tom Good wrote:
> 
> From the Python 2.1 docs, section on __del__() :
> 
> "Warning: due to the precarious circumstances under which __del__()
> methods are invoked, exceptions that occur during their execution are
> ignored, and a warning is printed to sys.stderr instead."
> 
So it is documented behaviour, good. Thanks.

	.Bill



More information about the Python-list mailing list