[Python-Dev] Re: Re: Call for defense of @decorators (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Aug 10 04:44:21 CEST 2004


=?ISO-8859-1?Q?Walter_D=F6rwald?= <walter at livinglogic.de>:

I can't understand why we can't have a new keyword for decorators. If I remember correctly the introduction of yield didn't result in such a public outcry.

The problem isn't so much the mechanics of adding a keyword, but choosing which keyword to use. The expected uses of decorators are so diverse that no single word would sound right for all of them.

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list