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 Adrian Wielgosik, Demur Rumed, mark.dickinson, serhiy.storchaka, vstinner
Date 2016-05-24.21:37:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464125858.99.0.000574000770729.issue27097@psf.upfronthosting.co.za>
In-reply-to
Content
> I'm pretty sure this is undefined behavior.

Are you talking about the exact C implementation, or the risk of unaligned memory accesses?

I suggest to add an assertion to ensure that the pointer is aligned to 16-bits.
History
Date User Action Args
2016-05-24 21:37:39vstinnersetrecipients: + vstinner, mark.dickinson, serhiy.storchaka, Demur Rumed, Adrian Wielgosik
2016-05-24 21:37:38vstinnersetmessageid: <1464125858.99.0.000574000770729.issue27097@psf.upfronthosting.co.za>
2016-05-24 21:37:38vstinnerlinkissue27097 messages
2016-05-24 21:37:38vstinnercreate