This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients fweimer, gregory.p.smith, pablogsal, vstinner
Date 2019-04-15.14:45:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555339519.85.0.722266190685.issue36618@roundup.psfhosted.org>
In-reply-to
Content
C++ has a __alignof__ function/macro/operator (not sure what is its kind) to get the alignment of a type.

C11 has <stdalign.h> header which provides an alignof() function.

GCC has __alignof__().

I also found "_Alignof()" name.

... no sure which one is the most portable ...
History
Date User Action Args
2019-04-15 14:45:19vstinnersetrecipients: + vstinner, gregory.p.smith, fweimer, pablogsal
2019-04-15 14:45:19vstinnersetmessageid: <1555339519.85.0.722266190685.issue36618@roundup.psfhosted.org>
2019-04-15 14:45:19vstinnerlinkissue36618 messages
2019-04-15 14:45:19vstinnercreate