[Python-Dev] Lukewarm about range literals (original) (raw)
Moshe Zadka Moshe Zadka moshez@math.huji.ac.il
Tue, 29 Aug 2000 18:40:39 +0300 (IDT)
- Previous message: [Python-Dev] Lukewarm about range literals
- Next message: [Python-Dev] Lukewarm about range literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 29 Aug 2000, Charles G Waldman wrote:
I have another idea. I don't think it's been discussed previously, but I came late to this party. Sorry if this is old hat.
How about a:b to indicate the range starting at a and ending with b-1?
I think it's nice. I'm not sure I like it yet, but it's an interesting idea. Someone's gonna yell ": is ambiguos". Well, you know how, when you know Python, you go around telling people "() don't create tuples, commas do" and feeling all wonderful? Well, we can do the same with ranges .
(:)-ly y'rs, Z.
Moshe Zadka <moshez@math.huji.ac.il> There is no IGLU cabal. http://advogato.org/person/moshez
- Previous message: [Python-Dev] Lukewarm about range literals
- Next message: [Python-Dev] Lukewarm about range literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]