[Python-Dev] Re: PEP 318: Decorators last before colon

Simon Percivall s.percivall at chello.se
Wed Mar 31 16:40:33 EST 2004


On 2004-03-31, at 23.01, Bob Ippolito wrote:
>>
>> But is the special case of decorated functions/methods really worth 
>> adding a
>> special case to current syntax rules?
>
> Yes.

But is it really wise to add the special syntax required to make your 
work easier (or possible) by overloading a currently perfectly valid 
(if non-sensical) statement? It's one thing that you really, really 
want a better decorator syntax; it's another thing completely that the 
new syntax is an overloaded and restricted list. That's just plain 
wrong for many reasons argued earlier.




More information about the Python-Dev mailing list