File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -634,6 +634,10 @@ \subsection{Special methods for any type}
634634former decrements the reference count for \code {x} by one, but
635635\code {x.__del__} is only called when its reference count reaches zero.
636636
637+ \strong {Warning:} due to the precarious circumstances under which
638+ \code {__del__} methods are executed, exceptions that occur during
639+ their execution are \emph {ignored }.
640+
637641\item [{\tt __repr__(self)}]
638642Called by the \verb @repr() @ built-in function and by string conversions
639643(reverse or backward quotes) to compute the string representation of an object.
Original file line number Diff line number Diff line change @@ -634,6 +634,10 @@ \subsection{Special methods for any type}
634634former decrements the reference count for \code {x} by one, but
635635\code {x.__del__} is only called when its reference count reaches zero.
636636
637+ \strong {Warning:} due to the precarious circumstances under which
638+ \code {__del__} methods are executed, exceptions that occur during
639+ their execution are \emph {ignored }.
640+
637641\item [{\tt __repr__(self)}]
638642Called by the \verb @repr() @ built-in function and by string conversions
639643(reverse or backward quotes) to compute the string representation of an object.
You can’t perform that action at this time.
0 commit comments