summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-11-04 04:31:30 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-11-04 04:31:30 (GMT)
commit599bd5e1e16aaa3a7652d245b6b2a018e772a557 (patch)
tree0c2437879be035ea36812826af8cb6565ee2045f /Doc
parented306292d68fe8ca3fb48f31129fe68229741519 (diff)
downloadcpython-599bd5e1e16aaa3a7652d245b6b2a018e772a557.zip
cpython-599bd5e1e16aaa3a7652d245b6b2a018e772a557.tar.gz
cpython-599bd5e1e16aaa3a7652d245b6b2a018e772a557.tar.bz2
Fix bug 1052242. Also includes rewrite of test case using unittest and
avoiding use of popen.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libatexit.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libatexit.tex b/Doc/lib/libatexit.tex
index c9775d1..922f5d4 100644
--- a/Doc/lib/libatexit.tex
+++ b/Doc/lib/libatexit.tex
@@ -39,6 +39,12 @@ completes), all functions registered are called in last in, first out
order. The assumption is that lower level modules will normally be
imported before higher level modules and thus must be cleaned up
later.
+
+If an exception is raised during execution of the exit handlers, a traceback
+is printed (unless SystemExit is raised) and the exception information is
+saved. After all exit handlers have had a chance to run the last exception
+to be raised is reraised.
+
\end{funcdesc}