]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Plug a leak in timemodule. The module dictionary is saved during
authorGregory P. Smith <greg@krypto.org>
Tue, 27 Nov 2012 18:16:55 +0000 (10:16 -0800)
committerGregory P. Smith <greg@krypto.org>
Tue, 27 Nov 2012 18:16:55 +0000 (10:16 -0800)
commit14b04cd350acad54e5bc87745c8c55823e2fbecf
treea58376023d568c9aa04b5d587fd4dd05747983ed
parent28c88f48f9dd6943a20758e733806cbaf735e139
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