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 skrah
Recipients paul.moore, pitrou, r.david.murray, serhiy.storchaka, skrah, steve.dower, tim.golden, tim.peters, vstinner, zach.ware
Date 2015-09-08.11:23:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441711435.43.0.50508803541.issue24999@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, according to C99 the shift is undefined:

6.5.7:

"If the value of the right operand is negative or is greater than
 or equal to the width of the promoted left operand, the behavior
 is undefined."
History
Date User Action Args
2015-09-08 11:23:55skrahsetrecipients: + skrah, tim.peters, paul.moore, pitrou, vstinner, tim.golden, r.david.murray, zach.ware, serhiy.storchaka, steve.dower
2015-09-08 11:23:55skrahsetmessageid: <1441711435.43.0.50508803541.issue24999@psf.upfronthosting.co.za>
2015-09-08 11:23:55skrahlinkissue24999 messages
2015-09-08 11:23:55skrahcreate