Sorry if this is the wrong ng/ml, but thought I'd better flag this up somewhere.

I've had an OverflowError using xrange with Python 2.6.5 on Windows. Googling got me to the subject line.

msg97928 gives a code snippet to overcome the limitations of xrange, allowing for negative steps, however it doesn't raise a ValueError for a zero step. msg99624 gives a docs change that has been implemented for V2.6, but this doesn't refer to the msg97928 code snippet, rather it refers to a one liner that only works for positive steps. The docs for V2.7 haven't been changed at all.

Assuming that I am correct, can I create myself a login on the bugs tracker and re-open the issue to get this sorted?

Kindest regards.

Mark Lawrence.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to