I am trying to build a range with an upper bound bigger than limit of integer in Python. I was looking for something like the following:
import sys
start = 100;
step = 100;
limit = sys.maxint + 1;
result = xrange(start, limit, step);
However, xrange parameters are limited to the integer. According to Python Standard Library, I have to use itertools module: islice(count(start, step), (stop-start+step-1)//step), but islice seems to have the same integer limitations for the parameters.
Is there any other way to build the list with upper limit represented by long integer?