[Python-Dev] Re: Call for defense of @decorators

"Martin v. Löwis" martin at v.loewis.de
Sun Aug 8 12:23:49 CEST 2004


Roman Suzi wrote:
>>If you don't like the current proposal, try to find objective
>>reasons, in addition to the subjective ones. Also, try to come
>>up with counter-proposals that are well thought-out, instead of
>>being created in a rush. In particular, if all you are concerned
>>with is the specific choice of operator, propose a different one.
> 
> 
> BTW, hat is wrong with my %-proposal:

Wrt our discussion: it does not just replace the choice of
character; it also replaces the position where the decorators
are placed.

Taken on its own, it is similar to C2 and C3 in

http://www.python.org/moin/PythonDecorators

and as such, it shares the same problems. Feel free to add
it as C4 if you care.

> I want to hear the critics of this as I see this a better syntax
> to the decoration needs!

Read the Wiki.

Regards,
Martin


More information about the Python-Dev mailing list