On 16 Jan 2010 20:25:44 GMT
Steven D'Aprano wrote:
> On Sat, 16 Jan 2010 20:04:09 +0100, Martin Manns wrote:
> >> islice(count(start, step), (stop-start+step-1)//step).
> >
> > However, count only accepts one parameter, so that this solution
> > does not work. Furthermore, islice only accepts po
On Sat, 16 Jan 2010 20:04:09 +0100, Martin Manns wrote:
> Hi
>
> As stated in the manual, xrange raises an OverflowError for long integer
> parameters. Looking for a xrange like generator for long integers, I
> found this in the manual
> (http://docs.python.org/library/functions.html):
>
>> CPyt