William Stein wrote:

> Robert:
>> I think using [] to specify lists is clean and pythonic. We are
>> basically extending the grammar
>> list_display ::=
>>             "[" [listmaker] "]"
> 
> Yep.  It make sense.   It's possibly not even completely unreasonable
> that this notation could eventually (and I mean in a long long time)
> make its way into Python.
> 

http://www.python.org/dev/peps/pep-0204/ Range literals didn't make it.
Mainly because of the 'wrong and confusing' notation with the slice
operator ':'. Maybe a PEP introducing the '..' will eventually be
acceptable?

Jaap


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to