[issue2690] Precompute range length

Facundo Batista report at bugs.python.org
Tue Apr 29 01:21:55 CEST 2008


Facundo Batista <facundo at taniquetil.com.ar> added the comment:

My 2 cents: for me is more useful to have a unbound range() than to be
able to do a len() on it.

For me, range() should mimic a number generator: no limit, no length.

----------
nosy: +facundobatista

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2690>
__________________________________


More information about the Python-bugs-list mailing list