diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-29 18:37:05 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-29 18:37:05 (GMT) |
commit | f7199578be41182fcbcd0350521f9545210e0ddd (patch) | |
tree | a0266cbfeb6d6f2d841a2c742cbf007c108860e2 /Misc | |
parent | db26f7c13748db526e52501d3ba2856a6e30c7a5 (diff) | |
download | cpython-f7199578be41182fcbcd0350521f9545210e0ddd.zip cpython-f7199578be41182fcbcd0350521f9545210e0ddd.tar.gz cpython-f7199578be41182fcbcd0350521f9545210e0ddd.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')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 3.0 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 #3611: An exception __context__ could be cleared in a complex pattern involving a __del__ method re-raising an exception. |