Message 256151 - Python tracker
> 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.