[Python-Dev] PEP 445: Add new APIs to customize Python memory allocators (second round)

Victor Stinner victor.stinner at gmail.com
Thu Jun 20 22:52:22 CEST 2013


2013/6/20 Antoine Pitrou <solipsis at pitrou.net <javascript:;>>:
> Victor Stinner <victor.stinner at gmail.com <javascript:;>> a écrit :
>> Changes:
>>
>>  * add PyMemAllocatorDomain enum: PYALLOC_PYMEM_RAW, PYALLOC_PYMEM or
>> PYALLOC_PYOBJECT
>
> PYMEM_DOMAIN_RAW?

I prefer your suggestion because it shares the PYMEM/PyMem prefix with
PyMem_SetAllocator().

So the whole list would be:

- PYMEM_DOMAIN_RAW
- PYMEM_DOMAIN_MEM
- PYMEM_DOMAIN_OBJ

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130620/fac70658/attachment.html>


More information about the Python-Dev mailing list