summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-11-27 18:19:29 (GMT)
committerGregory P. Smith <greg@krypto.org>2012-11-27 18:19:29 (GMT)
commit0d68ab3f481ab6c8ecb0d83762b4cd9fb9208356 (patch)
treebca9b1eceb20e2dad6957ed494bb73519f542656 /Misc
parenteff174b8b050a0a12e8de2207009acfc49d0cdbc (diff)
downloadcpython-0d68ab3f481ab6c8ecb0d83762b4cd9fb9208356.zip
cpython-0d68ab3f481ab6c8ecb0d83762b4cd9fb9208356.tar.gz
cpython-0d68ab3f481ab6c8ecb0d83762b4cd9fb9208356.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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8c13755..abe5f51 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -507,6 +507,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 #12268: File readline, readlines and read or readall methods
no longer lose data when an underlying read system call is interrupted
within an io module object. IOError is no longer raised due to a read