Fix bug 1052242. Also includes rewrite of test case using unittest and

avoiding use of popen.
This commit is contained in:
Skip Montanaro 2004-11-04 04:31:30 +00:00
parent ed306292d6
commit 599bd5e1e1
4 changed files with 117 additions and 54 deletions

View file

@ -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}