[Python-Dev] Lukewarm about range literals (original) (raw)
Charles G Waldman cgw@fnal.gov
Tue, 29 Aug 2000 11:48:43 -0500 (CDT)
- Previous message: [Python-Dev] Lukewarm about range literals
- Next message: [Python-Dev] Lukewarm about range literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum writes:
Alas, it could never work. Look at this:
for i in a:b:c
Does it mean
for i in (a:b) : c
or
for i in a: (b:c)
Of course, it means "for i in the range from a to b-1 with stride c", but as written it's illegal because you'd need another `:' after the c.
I'm postponing this discussion until after Python 2.0 final is released -- the feature freeze is real!
Absolutely. I won't bring this up again, until the approprate time.
- Previous message: [Python-Dev] Lukewarm about range literals
- Next message: [Python-Dev] Lukewarm about range literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]