]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #19442: Fix warnings emitted during Python shutdown
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Oct 2013 23:04:59 +0000 (00:04 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Oct 2013 23:04:59 +0000 (00:04 +0100)
commit856f45f09c1fe69cab4cf11159f60f0f0cc5bb07
tree62c27039e6ba63d7a2ff93cd96524b724a15ac22
parentc0e07a3ea00ee94618fc51072aeda27f7d7c3d25
Issue #19442: Fix warnings emitted during Python shutdown

Warnings may be emitted during Python shutdown, like "unclosed file XXX".
During shutdown, globals()['__main__'] may be None.
Python/_warnings.c