On Feb 22, 2008, at 10:49 PM, Guido van Rossum wrote:
>>>>> del []
>>>>> del ()
>> File "<stdin>", line 1
>> SyntaxError: can't assign to ()
>>>>>
>
> The only bug I see here is that it doesn't complain about "del []".
I expected it to say "can't delete" instead of "can't assign"
>>> del 1
SyntaxError: can't delete literal (<stdin>, line 1)
> I guess if you're really motivated to get this through, you'll have to
> submit a patch, including unittests and doc updates.
I figured that was a likely response - and it's better than "nope" or
"too late". Mmm, _ast.c, I presume? Let me find my pith helmet. :)
Andrew
[EMAIL PROTECTED]
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com