[issue27987] obmalloc's 8-byte alignment causes undefined behavior
Antoine Pitrou
report at bugs.python.org
Tue Oct 24 11:18:43 EDT 2017
Antoine Pitrou <pitrou at free.fr> added the comment:
> My suggestion would be to pass alignof(type) into the allocator via macro.
Do you mean using some new PyMem_ function? Or as as new tp_ field on the type declaration?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27987>
_______________________________________
More information about the Python-bugs-list
mailing list