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 benjamin.peterson
Recipients benjamin.peterson, pitrou, skrah, vstinner
Date 2017-11-09.06:25:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510208731.1358535.1166622400.70650663@webmail.messagingengine.com>
In-reply-to <1510150466.07.0.213398074469.issue27987@psf.upfronthosting.co.za>
Content
On Wed, Nov 8, 2017, at 06:14, STINNER Victor wrote:
> 
> STINNER Victor <victor.stinner@gmail.com> added the comment:
> 
> alignment.patch: +    long double dummy;  /* force worst-case alignment
> */
> 
> Would it be possible to use max_align_t mentioned by Stefan, at least
> when this type is available?

Yes, that would be the correct thing to do. I was looking for the quick
hack.

> 
> What is the impact of the patch on objects size?

On 64-bit platforms, I believe it wastes a word for GC objects.
History
Date User Action Args
2017-11-09 06:25:35benjamin.petersonsetrecipients: + benjamin.peterson, pitrou, vstinner, skrah
2017-11-09 06:25:35benjamin.petersonlinkissue27987 messages
2017-11-09 06:25:35benjamin.petersoncreate