commit | 14b04cd350acad54e5bc87745c8c55823e2fbecf | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Tue Nov 27 10:16:55 2012 -0800 |
committer | Gregory P. Smith <greg@krypto.org> | Tue Nov 27 10:16:55 2012 -0800 |
tree | a58376023d568c9aa04b5d587fd4dd05747983ed | |
parent | 28c88f48f9dd6943a20758e733806cbaf735e139 [diff] |
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.