PEP 234: Iterators

Just van Rossum just at letterror.com
Sun May 6 10:04:49 CEST 2001


Roman Suzi wrote:
> 
> Hello!
> 
> Some languages have special syntax for iterators/ranges.
> 
> Of course, it is impossible to add:
> 
> for i in 1:10:
> 
> in Python, but probably this is a good idea to think about along with
> iterators?

Have a look here, for a rejected proposal:

   http://python.sourceforge.net/peps/pep-0204.html

Just



More information about the Python-list mailing list