Long integers and ways around xrange
mmanns at gmx.net
Sat Jan 16 22:59:15 CET 2010
On 16 Jan 2010 20:25:44 GMT
Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> 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 positive values for
> > step.
> This should be reported as a documentation bug.
I added a bug report [issue7721].
Thanks for the code review.
More information about the Python-list