Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue27987> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com