This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tenuki
Recipients docs@python, eric.araujo, ezio.melotti, rhettinger, tenuki
Date 2011-05-06.17:23:46
SpamBayes Score 0.001618275
Marked as misclassified No
Message-id <1304702629.23.0.186911859075.issue12003@psf.upfronthosting.co.za>
In-reply-to
Content
Yes it is. I copied both versions but forgot to specify the second is in 2.7.

This is read in the current (2.7) documentation:
# from: http://docs.python.org/library/functions.html?highlight=xrange#xrange
islice(count(start, step), (stop-start+step-1)//step)

and test_xrange.py shows the output of this code against range(). The code includes 2 samples of parameters which gives the unexpected results.
History
Date User Action Args
2011-05-06 17:23:49tenukisetrecipients: + tenuki, rhettinger, ezio.melotti, eric.araujo, docs@python
2011-05-06 17:23:49tenukisetmessageid: <1304702629.23.0.186911859075.issue12003@psf.upfronthosting.co.za>
2011-05-06 17:23:46tenukilinkissue12003 messages
2011-05-06 17:23:46tenukicreate