STINNER Victor added the comment:

> To be exhaustive, another patch should be developed to replace
> all calls for malloc/realloc/free by
> PyMem_Malloc/PyMem_Realloc/PyMem_Free.

I created issue #18203 for this point.

> PyObject_Malloc() is still using mmap() or malloc() internally
> for example.

Arena allocator can be replaced or hooked with PyObject_SetArenaAllocators() of 
my lastest 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