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 | a0fec2b5df6827300bf80511a1fd6596e6f71e21 (patch) | |
| tree | 5352a8afa99f87bebe54b1207bb18af3765a30cf /Include/pythonrun.h | |
| parent | 8ee4a60c70df6ed9ee1afefae2bb71aaae8d291a (diff) | |
| download | cpython-git-a0fec2b5df6827300bf80511a1fd6596e6f71e21.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 'Include/pythonrun.h')
0 files changed, 0 insertions, 0 deletions
