]> granicus.if.org Git - python/commit
Plug a leak in timemodule. The module dictionary is saved during
authorGregory P. Smith <greg@krypto.org>
Tue, 27 Nov 2012 18:19:29 +0000 (10:19 -0800)
committerGregory P. Smith <greg@krypto.org>
Tue, 27 Nov 2012 18:19:29 +0000 (10:19 -0800)
commit0d68ab3f481ab6c8ecb0d83762b4cd9fb9208356
treebca9b1eceb20e2dad6957ed494bb73519f542656
parenteff174b8b050a0a12e8de2207009acfc49d0cdbc
Plug a leak in timemodule. The module dictionary is saved during
initialization. If the interpreter is shut down and reinitialized (embedded
CPython), the old module dictionary was not dec-refed during the next import of
the time extension module.

Contributed by Torsten Marek of Google.
Misc/NEWS
Modules/timemodule.c