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 mark.dickinson, serhiy.storchaka
Date 2012-07-07.10:01:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341655278.94.0.0168302004876.issue15144@psf.upfronthosting.co.za>
In-reply-to
Content
If we're worrying about undefined behaviour, it looks like recent optimizations have *introduced* new undefined behaviour in the form of strict aliasing violations.  E.g., from ascii_decode:

    unsigned long value = *(const unsigned long *) _p;

(here _p has type const char *).  This should really be fixed;  compilers are known to make optimizations based on the assumption that this sort of undefined behaviour doesn't occur.
History
Date User Action Args
2012-07-07 10:01:18mark.dickinsonsetrecipients: + mark.dickinson, serhiy.storchaka
2012-07-07 10:01:18mark.dickinsonsetmessageid: <1341655278.94.0.0168302004876.issue15144@psf.upfronthosting.co.za>
2012-07-07 10:01:18mark.dickinsonlinkissue15144 messages
2012-07-07 10:01:18mark.dickinsoncreate