Range Operation pre-PEP

Greg Ewing see at my.signature
Thu May 10 06:15:14 CEST 2001


Alex Martelli wrote:
> 
> Maybe this should be accepted and reinforced
> with a different syntax for the range, e.g.
> 
> for i in [a:b]:

But that's exactly what PEP 204 proposed, and
Guido rejected it.

(The PEPs are supposed to record such decisions
so that these discussions don't keep recurring.
But that only works if people read the PEPs. :-)
Maybe we need a bot that posts all the rejected
PEPs to c.l.py every month? :-) :-)

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list