How to use long integers in Python to build a range?
<p>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:</p>

<pre><code>import sys
start = 100;
step = 100;
limit = sys.maxint + 1;
result = xrange(start, limit, step);
</code></pre>

<p>However, <code>xrange</code> parameters are limited to the integer. According to <a href="http://docs.python.org/library/functions.html#xrange" rel="nofollow">Python Standard Library</a>, I have to use <code>itertools</code> module: <code>islice(count(start, step), (stop-start+step-1)//step)</code>, but <code>islice</code> seems to have the same integer limitations for the parameters.  </p>

<p>Is there any other way to build the list with upper limit represented by long integer?</p>
