[Python-Dev] int/long FutureWarning

Aahz aahz@pythoncraft.com
Fri, 29 Nov 2002 06:07:28 -0500

On Fri, Nov 29, 2002, M.-A. Lemburg wrote:
> 2. x = 0x80000000 gives a signed integer in Python <=2.2 and long(x)
>    results in -2147483648L; int(0x80000000L) gives an OverflowError
>    in Python <=2.2

You sure about this?  I thought the whole point was that it's *not*
necessarily -2147483648L and OverflowError -- on a 64-bit platform.
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra