[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

Antoine Pitrou report at bugs.python.org
Fri Dec 5 23:36:22 CET 2014


Antoine Pitrou added the comment:

Le 05/12/2014 23:15, STINNER Victor a écrit :
> 
> 
> I don't think that we need 3 flavors of allocators (PyMem_Raw,
> PyMem,
PyObject).
> 
> Maybe the PYMEM_DOMAIN_RAW domain is enough: OS functions don't
require the GIL. In this case, should we add a new pair of Get/Set
functions with an associated structure?

How about a new domain instead? PYMEM_DOMAIN_RAW_ALIGNED?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18835>
_______________________________________


More information about the Python-bugs-list mailing list