PEP 234: Iterators

Neil Schemenauer nas at
Mon May 7 17:30:23 CEST 2001

Roman Suzi wrote:
> I am not sure abput "reference implementation" part.

That's okay.  PEPs don't have to be implemented by the same
people that right them.

> And also the proposed syntax has very narrow application:
> only for range(start, end+1) things.
> Any other additions almost certainly will add non-clarity.

That's fine.

> OK. Probably 
> 1, 3 ... 11 
> is right way to specify the equivalent of 
> range(1, 11+1, 3-1)

That doesn't seem very obvious to me.  It might be useful to look
what Haskell does in this case.  I think they use [0..9] to mean
the same thing as range(10).  I don't know what they do for
non-contiguous ranges.


More information about the Python-list mailing list