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

Jeremy Hylton jeremy at alum.mit.edu
Wed Mar 31 23:47:06 EST 2004


On Wed, 2004-03-31 at 23:30, Greg Ewing wrote:
> Guido:
> 
> > This patch (deco.diff) patches compile.c to recognize
> > the following form of decorators:
> > 
> > [list_of_expressions]
> > def func(args):
> >     ...
> 
> I need a reality check here. Are you saying *this* is
> what you currently favour?
> 
> I hate this. It's unspeakably horrible. Please tell me
> I'm having a nightmare...

There's got to be a better way for people to share their preference on
matters like these.  Maybe we should create a Wiki page where people can
sign up for or against any particular syntax.  It would be easier to
keep track of than trying to read all the messages in this thread.

Jeremy

PS Unspeakably horrible is a minor objection on the Internet.  It's not
really bad unless its untype-ably bad.





More information about the Python-Dev mailing list