[Python-3000] range() issues

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Apr 30 05:22:27 CEST 2008


On Tue, Apr 29, 2008 at 10:36 PM, Guido van Rossum <guido at python.org> wrote:
..
>  There are good reasons for having range() return an Iterable and not
>  an Iterator;

What would you say to an idea of exposing rangeiter in itertools - say
itertools.irange(..) function that returns an iterator?


More information about the Python-3000 mailing list