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 mark.dickinson
Recipients eric.snow, jcea, kristjan.jonsson, mark.dickinson, michael.foord, pitrou, rhettinger, serhiy.storchaka
Date 2012-04-19.09:19:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334827143.25.0.26790027533.issue14381@psf.upfronthosting.co.za>
In-reply-to
Content
> Why do you think it isn't safe, Antoine?

It violates C's strict aliasing rules;  Google for 'C strict aliasing' or 'C type punning' for more information.  This isn't just a theoretical concern:  gcc is known to make optimizations based on the assumption that strict aliasing isn't violated.
History
Date User Action Args
2012-04-19 09:19:03mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, jcea, pitrou, kristjan.jonsson, michael.foord, eric.snow, serhiy.storchaka
2012-04-19 09:19:03mark.dickinsonsetmessageid: <1334827143.25.0.26790027533.issue14381@psf.upfronthosting.co.za>
2012-04-19 09:19:02mark.dickinsonlinkissue14381 messages
2012-04-19 09:19:02mark.dickinsoncreate