MemoryError under 2.2b1

wtr wtri at
Fri Nov 2 11:09:37 CET 2001

The following little script ends in a MemoryError

hello world!
Traceback (most recent call last):
  File "C:/Python22/", line 4, in ?
    for j in range(99999999,1000000001):

There seems to be a strange dependancy between the two range parameters;
ranges (99999999,100000000) and (999999999,1000000099) work.
print "hello world!"
import time

for j in range(99999999,1000000001):
    null= 0
    print null
print t1

wolfgang teschner

More information about the Python-list mailing list