Commit 1fd5b214 authored by Guido van Rossum's avatar Guido van Rossum

Mention warning for exception in __del__.

parent 0a94dfca
......@@ -627,6 +627,8 @@ reference to it. It may then be called at a later time when this new
reference is deleted. It is not guaranteed that
\code{__del__} methods are called for objects that still exist when
the interpreter exits.
If an exception occurs in a \code{__del__} method, it is ignored, and
a warning is printed on stderr.
\ttindex{__del__}
\stindex{del}
......
......@@ -627,6 +627,8 @@ reference to it. It may then be called at a later time when this new
reference is deleted. It is not guaranteed that
\code{__del__} methods are called for objects that still exist when
the interpreter exits.
If an exception occurs in a \code{__del__} method, it is ignored, and
a warning is printed on stderr.
\ttindex{__del__}
\stindex{del}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment