[Python-Dev] Re: Re: Call for defense of @decorators
Simon Percivall
s.percivall at chello.se
Mon Aug 9 15:02:42 CEST 2004
More information about the Python-Dev mailing list
Mon Aug 9 15:02:42 CEST 2004
- Previous message: [Python-Dev] Re: Re: Call for defense of @decorators
- Next message: [Python-Dev] Re: Re: Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2004-08-09, at 12.38, Walter Dörwald wrote: > 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. We'd have to change our programs once > if a variable names collides with the new keyword, but that's better > than having to look at @s for the rest of our Python days. > > So how about: > > make classmethod > def foo(cls, bar): > ... I think "adorn" would make a better keyword in that case, as in "adorn with" this decorator the method foo. //Simon
- Previous message: [Python-Dev] Re: Re: Call for defense of @decorators
- Next message: [Python-Dev] Re: Re: Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list