On Tue, Apr 29, 2008 at 4:09 PM, Mark Dickinson <[EMAIL PROTECTED]> wrote:
> Put another way:  range(n) currently works, in Py3k, for n > sys.maxsize.
> What's the rationale for breaking that?

So we can support other sequence methods. (I think.)

Personally, I think that range should be just an easy to iterate over
a sequence (set, series, or whatever the term is) of integers (even if
they're huge). I don't think we need to turn it into a sequence. That
fits in your brain. If you need to do something more advanced than
counting, there are other things out there! Where are the use cases
for range slicing, anyway?



-- 
Cheers,
Benjamin Peterson
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to