l = range(int(1E9))

Jon Ribbens jon+usenet at unequivocal.co.uk
Sat May 2 17:40:24 EDT 2015


On 2015-05-02, BartC <bc at freeuk.com> wrote:
> So do I, I think, if no-one is willing to admit that the original way of 
> implementing range() was a glaring mistake.

I think the issue is that nobody else here thinks the "original way"
of iterating was to use range(), for anything other than extremely
small ranges.

For information, it looks like xrange() was added on 26 Oct 1993,
which pre-dates Python 1.0.



More information about the Python-list mailing list