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