Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson, brett.cannon, christian.heimes, loewis, nnorwitz, pitrou
Date 2008-08-24.21:03:46
SpamBayes Score 4.19256e-08
Marked as misclassified No
Message-id <1219611828.89.0.678231646139.issue3651@psf.upfronthosting.co.za>
In-reply-to
Content
This new version of the patch modifies getargs.c and use
PyObject_GetBuffer and PyBuffer_Release in place of the raw bf_getbuffer
and bf_releasebuffer.
Also make sure that each GetBuffer is matched with a ReleaseBuffer
(except for s* and w*, where the calling code is responsible for this)

This seems to correct most of the refleaks mentioned above, except:

- test_unittest leaks 120 refs because the 'audioop' module is
re-imported many times. See issue3667, or the test case should be dropped.

- test_binascii leaks one time because of issue3668.
History
Date User Action Args
2008-08-24 21:03:49amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, nnorwitz, brett.cannon, pitrou, christian.heimes, benjamin.peterson
2008-08-24 21:03:48amaury.forgeotdarcsetmessageid: <1219611828.89.0.678231646139.issue3651@psf.upfronthosting.co.za>
2008-08-24 21:03:48amaury.forgeotdarclinkissue3651 messages
2008-08-24 21:03:47amaury.forgeotdarccreate