int vs long

Nick Craig-Wood nick at craig-wood.com
Thu Dec 20 08:30:03 EST 2007


Hendrik van Rooyen <mail at microcorp.co.za> wrote:
>  "Nick Craig-Wood" <nic...od.com> wrote:
> > So you might see longs returned when you expected ints if the result
> > was >= 0x8000000.
> 
>  did you mean 0x80000000 ?
> 
>  ;-)

Yes - well spotted!
-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list