Range() limit

Marc mnations at airmail.net
Sat Feb 22 02:08:20 CET 2003


Hi all,

I have a quick question on the limits of the range() function. This is
probably computer speed and memory dependent, but is there any value
over which the range function can't handle. I'm doing iterations over
quite a large range, and as it approaches 50 million potential
iterations it stalls and dies.

Have I exceeded Python's ability to handle iterations or is a
limitation with my computer.

Thanks,
Marc




More information about the Python-list mailing list