PEP 276 and future iteration PEPs

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Dec 17 06:01:43 CET 2001


James Althoff wrote:
> 
> For future iteration PEPs, I think I would be more
> comfortable with
> explicit specification
> of the index variable(s), as in
> 
> for i in 0 <= i < 5

Not possible, because this conflicts with
existing syntax.

I don't like the redundancy of having the
'i' in two places, anyway.

-- 
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