On 9 Jun 2006, at 17:44, Guido van Rossum wrote:

> This is an elaborate joke, right?
>
> On 6/9/06, Noam Raphael <[EMAIL PROTECTED]> wrote:
...
>> It's simply this: Currently, the expression "x[]" is a syntax  
>> error. I
>> suggest that it will be a valid syntax, and equivalent to "x[()]",
>> just as "x[a, b]" is equivalent to "x[(a, b)]" right now.
...
>> Motivation
>> ==========
>>
>> This suggestion allows you to refer to zero-dimensional arrays  
>> elegantly.

I don't think that this suggestion is any less reasonable the the  
very existence of zero-dimensional arrays in the first place,  
although in my personal opinion that's a fairly low bar.

        Nicko


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to