int vs long

Paul Rubin http
Sat Jun 2 23:18:02 EDT 2007


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.



More information about the Python-list mailing list