summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2008-08-29 18:39:48 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2008-08-29 18:39:48 (GMT)
commitd4ae97bc38780aab5f348b73fee67eaab7546441 (patch)
tree62ef9d69e065bea64123dc4493ee955ac8553499 /Misc/NEWS
parenta27e89bd04d8423dde480a9832400401b38bfc68 (diff)
downloadcpython-d4ae97bc38780aab5f348b73fee67eaab7546441.zip
cpython-d4ae97bc38780aab5f348b73fee67eaab7546441.tar.gz
cpython-d4ae97bc38780aab5f348b73fee67eaab7546441.tar.bz2
#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an
exception afterwards (for a subsequent parameter), the user code will not call PyBuffer_Release() and memory will leak. Reviewed by Amaury Forgeot d'Arc.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 822d1c9..34fbd69 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.6 release candidate 1?
Core and Builtins
-----------------
+- Issue #3668: Fix a memory leak with the "s*" argument parser in
+ PyArg_ParseTuple and friends, which occurred when the argument for "s*"
+ was correctly parsed but parsing of subsequent arguments failed.
+
- Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to
match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__
mechanism. In the process, fix a bug where isinstance() and issubclass(),