PEP 276 Simple Iterator for ints (fwd)

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Nov 28 18:33:33 EST 2001


"Colin J. Williams" wrote:
> 
> What parsing problems would be created by:
> 
>      for 0 < i < 10, 3
> 
> to give 3, 6, 9?

Probably it would be parsed as

  for 0 < i < (10, 3):

Besides, it's getting away from the self-evident
nature of my original suggestion, which is the
only thing it really had going for it.

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