[issue33589] Remove dummy member in GCHead

Antoine Pitrou report at bugs.python.org
Mon May 21 06:17:22 EDT 2018


Antoine Pitrou <pitrou at free.fr> added the comment:

Short of adding a `tp_alignment`, though, I think we should not make things harder for the common cases.  This means we should probably keep the "double" member to ensure that extension types that have a "double" field in their object struct have the right alignment by default.  "long double" is much rarer and people who need it can workaround alignment issues by hand (for example by issuing memcpy() calls).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33589>
_______________________________________


More information about the Python-bugs-list mailing list