int vs long
jay
jyoung79 at kc.rr.com
Sun Jun 3 13:38:47 EDT 2007
Hi Dan, Paul, and Kaens,
Thanks very much for replying to my question. I appreciate you all
taking the time to answer this for me!
Jay
> On 02 Jun 2007 20:18:02 -0700, Paul Rubin
> <"http://phr.cx"@nospam.invalid> wrote:
>> Dan Bishop <danb_83 at yahoo.com> writes:
>> > Note that recent versions of Python automatically promote the
>> results
>> > of integer arithmetic to long if necessary, so the distinction
>> is less
>> > relevant than it used to be.
>>
>> Note however that even in recent versions, there are still parts of
>> Python that get stuck at sys.maxint, for example the enumerate
>> function.
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>
> I didn't know that - I'll keep it in mind though. I can imagine that
> causing some pretty nasty annoyances if you ran into it unexpectedly
More information about the Python-list
mailing list