On Mon, 2004-08-09 at 22:44, Greg Ewing wrote: > =?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. Actually, that's an interesting case study. Myself and others advocated for a keyword other than 'def' for introducing generators. That wasn't how things turned out and in hindsight I think Guido made the right decision. I'm confident the same thing will happen with decorators. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20040809/ca58ff72/attachment-0001.pgp
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4