Message190940
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. |
|
Date |
User |
Action |
Args |
2013-06-11 01:17:37 | vstinner | set | recipients:
+ vstinner, barry, rhettinger, gregory.p.smith, amaury.forgeotdarc, ncoghlan, Rhamphoryncus, pitrou, kristjan.jonsson, jszakmeister, tlesher, jlaurila, neilo, pjmcnerney |
2013-06-11 01:17:36 | vstinner | set | messageid: <1370913456.76.0.174533236195.issue3329@psf.upfronthosting.co.za> |
2013-06-11 01:17:36 | vstinner | link | issue3329 messages |
2013-06-11 01:17:36 | vstinner | create | |
|