Decorator syntax (was Re: PEP 318 - PyFIT comments)

Yu Wang at
Fri Aug 6 03:57:15 CEST 2004

I'm not an active guy in the groups.But I do agree with Mike.
If there is a vote. I'll vote for this reply.
Please consider a more elegant way.

Michael Ressler <ressler at> wrote in message news:<slrnch2rs1.6ei.ressler at>...
> On 2004-08-04, Delaney, Timothy C (Timothy) <tdelaney at> wrote:
> > Christopher T King wrote:
> >
> >> On 4 Aug 2004, Nick Vargish wrote:
> >> 
> >>> I just don't know where else to voice my opinion on this matter, but
> >>> I absolutely hate the new decorator syntax.
> >
> > @classmethod
> > def func (args):
> >     @attr = 1
> >     pass
> I'm just a dumb user of Python - I don't even program for a living, so
> there is no reason any of you should listen to me, but this @-syntax
> thing makes Python look like Perl. The reason I learned Python was that
> Perl looks like line noise to me, and I wanted a scripting language I
> could read. Please don't wreck a beautiful, readable language with this
> shortcut. Choose a word for it, not a symbol, please.
> Mike

More information about the Python-list mailing list