From 45687bb9761be8ec84ed94b50be73953b7ef770f Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Fri, 9 Aug 1996 20:59:25 +0000
Subject: Add warning about exceptions in __del__ being ignored.

---
 Doc/ref/ref3.tex | 4 ++++
 Doc/ref3.tex     | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex
index e017e26..d1e8b63 100644
--- a/Doc/ref/ref3.tex
+++ b/Doc/ref/ref3.tex
@@ -634,6 +634,10 @@ Note that \code{del x} doesn't directly call \code{x.__del__} --- the
 former decrements the reference count for \code{x} by one, but
 \code{x.__del__} is only called when its reference count reaches zero.
 
+\strong{Warning:} due to the precarious circumstances under which
+\code{__del__} methods are executed, exceptions that occur during
+their execution are \emph{ignored}.
+
 \item[{\tt __repr__(self)}]
 Called by the \verb@repr()@ built-in function and by string conversions
 (reverse or backward quotes) to compute the string representation of an object.
diff --git a/Doc/ref3.tex b/Doc/ref3.tex
index e017e26..d1e8b63 100644
--- a/Doc/ref3.tex
+++ b/Doc/ref3.tex
@@ -634,6 +634,10 @@ Note that \code{del x} doesn't directly call \code{x.__del__} --- the
 former decrements the reference count for \code{x} by one, but
 \code{x.__del__} is only called when its reference count reaches zero.
 
+\strong{Warning:} due to the precarious circumstances under which
+\code{__del__} methods are executed, exceptions that occur during
+their execution are \emph{ignored}.
+
 \item[{\tt __repr__(self)}]
 Called by the \verb@repr()@ built-in function and by string conversions
 (reverse or backward quotes) to compute the string representation of an object.
-- 
cgit v0.12

