Author mark.dickinson
Recipients mark.dickinson, rhettinger, serhiy.storchaka, skrah, tim.peters, vstinner
Date 2015-12-09.10:11:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449655912.79.0.945508423371.issue25823@psf.upfronthosting.co.za>
In-reply-to
Content
> I think following patch doesn't introduce undefined behavior.

Agreed. As I recall, the memcpy trick is a fairly standard way around this issue, for compilers that are smart enough to compile away the actual memcpy call.

> I don't know  wherever the patch can cause performance regression on other platforms or compilers.

Me neither.
History
Date User Action Args
2015-12-09 10:11:52mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, vstinner, skrah, serhiy.storchaka
2015-12-09 10:11:52mark.dickinsonsetmessageid: <1449655912.79.0.945508423371.issue25823@psf.upfronthosting.co.za>
2015-12-09 10:11:52mark.dickinsonlinkissue25823 messages
2015-12-09 10:11:52mark.dickinsoncreate