Re: [Python-3000] Range literals

2006-08-10 Thread Guido van Rossum
I haven't changed my mind. Do you really want to add atrocities such as having both .. and ... in the language where one includes the end point and the other excludes it? How would a casual user remember which is which? --Guido On 8/8/06, Josiah Carlson <[EMAIL PROTECTED]> wrote: > > Talin <[EMAI

Re: [Python-3000] Range literals

2006-08-08 Thread Josiah Carlson
Talin <[EMAIL PROTECTED]> wrote: > > I've seen some languages that use a double-dot (..) to mean a range of > items. This could be syntactic sugar for range(), like so: > > > for x in 1..10: >... In the pronouncement on PEP 284: http://www.python.org/dev/peps/pep-0284/ Guido

[Python-3000] Range literals

2006-08-08 Thread Talin
I've seen some languages that use a double-dot (..) to mean a range of items. This could be syntactic sugar for range(), like so: for x in 1..10: ... -- Talin ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailma