mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix bug 1052242. Also includes rewrite of test case using unittest and
avoiding use of popen.
This commit is contained in:
parent
ed306292d6
commit
599bd5e1e1
4 changed files with 117 additions and 54 deletions
|
@ -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}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue