Message174207
| Author |
petri.lehtinen |
| Recipients |
ajaksu2, christian.heimes, ezio.melotti, petri.lehtinen, pitrou, r.david.murray, serhiy.storchaka, tzimmo |
| Date |
2012年10月30日.13:10:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<20121030131038.GU1349@p29> |
| In-reply-to |
<1351601927.5.0.460976073556.issue2005@psf.upfronthosting.co.za> |
| Content |
Christian Heimes wrote:
> AFAIK C89 doesn't specify integer overflows:
Casting a signed integer to an unsigned integer is always defined, if
that's what you're talking about.
See http://flash-gordon.me.uk/ansi.c.txt, section 3.2.1.2.
If you're talking about PyLong_AsLongWithOverflow() and friends, they
do bitshift magic to detect overflows. |
|