[Python-Dev] ints not overflowing into longs?

Stefan Krah stefan at bytereef.org
Thu Nov 3 19:07:52 CET 2011


Derek Shockey <derek.shockey at gmail.com> wrote:
> I believe you're right. The 2.7.2 MacPorts portfile definitely passes
> the -fwrapv flag to clang, but the bad behavior still occurs with
> exponents.

Really? Even without the fix for issue12973 the -fwrapv flag
should be sufficient, as reported in issue13061 and Issue11149.

For clang version 3.0 (trunk 139691) on FreeBSD this is the case.


Stefan Krah




More information about the Python-Dev mailing list