PEP 234: Iterators
rnd at onego.ru
Mon May 7 07:46:55 CEST 2001
On Sun, 6 May 2001, Just van Rossum wrote:
> Roman Suzi wrote:
> > 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:
The problem with the PEP 204 is that proposed syntax
is very confuing and asking to make an error.
But I am sure that Python need nicier range, than range.
Even if it will be as in Perl: 1 .. 10
or more "pythonish" 1 ... 10
Sincerely yours, Roman A.Suzi
- Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
More information about the Python-list