diff options
author | Guido van Rossum <guido@python.org> | 1998-02-06 17:16:02 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-02-06 17:16:02 +0000 |
commit | f5f597f35a5ba43e7761c69455b47f09d86239d6 (patch) | |
tree | 0f9919f68fb323974a03ee375a43ca489ddbc585 /Python/pythonrun.c | |
parent | 3b8108fd52deefb82969ddd873dbe22ace16485f (diff) | |
download | cpython-f5f597f35a5ba43e7761c69455b47f09d86239d6.tar.gz |
Two more refinements of the cleanup process.
(1) Explicitly clear __builtin__._ and sys.{last,exc}_* before
clearing anything else. These are common places where user values
hide and people complain when their destructors fail. Since the
modules containing them are deleted *last* of all, they would come too
late in the normal destruction order. Sigh.
(2) Add some debugging aid to cleanup (after a suggestion by Marc
Lemburg) -- print the names of the modules being cleaned, and (when
-vv is used) print the names of the variables being cleared.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions