2008/4/29, Benjamin Peterson <[EMAIL PROTECTED]>: > 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.)
The point is that we're sacrificing a good feature (don't worry about the limit of range(), Python is safe), in favor of rarely used features (index a range()... what's the point?; or knowing its length... hey, you created range, you should know its length). Regards, -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ _______________________________________________ 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