A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008897.html below:

[Python-Dev] Lukewarm about range literals

[Python-Dev] Lukewarm about range literals [Python-Dev] Lukewarm about range literalsCharles G Waldman cgw@fnal.gov
Tue, 29 Aug 2000 11:48:43 -0500 (CDT)
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.  <wink>

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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4