diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-11-27 18:16:55 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-11-27 18:16:55 (GMT) |
commit | 14b04cd350acad54e5bc87745c8c55823e2fbecf (patch) | |
tree | a58376023d568c9aa04b5d587fd4dd05747983ed /Misc | |
parent | 28c88f48f9dd6943a20758e733806cbaf735e139 (diff) | |
download | cpython-14b04cd350acad54e5bc87745c8c55823e2fbecf.zip cpython-14b04cd350acad54e5bc87745c8c55823e2fbecf.tar.gz cpython-14b04cd350acad54e5bc87745c8c55823e2fbecf.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -620,6 +620,9 @@ Library Extension Modules ----------------- +- Fix the leak of a dict in the time module when used in an embedded + interpreter that is repeatedly initialized and shutdown and reinitialized. + - Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD() method doesn't require an argument again. |