STINNER Victor added the comment:

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.

----------
Added file: http://bugs.python.org/file30538/py_setallocators-3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3329>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to