STINNER Victor added the comment:

I read again some remarks about alignement, it was suggested to provide 
allocators providing an address aligned to a requested alignement. This topic 
was already discussed in #18835.

If Python doesn't provide such memory allocators, it was suggested to provide a 
"trace" function which can be called on the result of a successful allocator to 
"trace" an allocation (and a similar function for free). But this is very 
different from the design of the PEP 445 (new malloc API). Basically, it 
requires to rewrite the PEP 445.

----------

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

Reply via email to