Author vstinner
Recipients Rhamphoryncus, amaury.forgeotdarc, barry, gregory.p.smith, jlaurila, jszakmeister, kristjan.jonsson, ncoghlan, neilo, pitrou, pjmcnerney, rhettinger, tlesher, vstinner
Date 2013-06-11.01:17:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370913456.76.0.174533236195.issue3329@psf.upfronthosting.co.za>
In-reply-to
Content
New version of the patch, py_setallocators-3.patch:
 - _PyMem_DebugMalloc(), _PyMem_DebugFree() and _PyMem_DebugRealloc() are now setup as hooks to the system allocator and are hook on PyMem API *and* on PyObject API
 - move "if (size > PY_SSIZE_T_MAX)" check into PyObject_Malloc() and PyObject_Realloc()

This patch does not propose a simple API to reuse internal debug hooks when replacing system (PyMem) allocators.
History
Date User Action Args
2013-06-11 01:17:37vstinnersetrecipients: + vstinner, barry, rhettinger, gregory.p.smith, amaury.forgeotdarc, ncoghlan, Rhamphoryncus, pitrou, kristjan.jonsson, jszakmeister, tlesher, jlaurila, neilo, pjmcnerney
2013-06-11 01:17:36vstinnersetmessageid: <1370913456.76.0.174533236195.issue3329@psf.upfronthosting.co.za>
2013-06-11 01:17:36vstinnerlinkissue3329 messages
2013-06-11 01:17:36vstinnercreate