"Trevor Blackwell" <tlb at tlb.org> wrote in message news:1101161483.55773.352.camel at lab... > > I just read the plan for decorators in Python 2.4, and I'm surprised to > see no discussion You are a bit late. Alternatives to @ were discussed last August/September in hundreds of posts on pydev and c.l.p/mailing list and summarized on the Wiki. The community selected one which was ably presented to Guido who seriously considered it but ultimately rejected it. End of discussion. 2.4 is nearly done and ready for release. > of what seems to me the cleanest answer, to optionally > write function definitions as assignments: The issue of multiline anonymous function definitions is mostly independent of decorators. Requests and informal proposals in this regard have appeared on c.l.p for years and, I believe, been ignored or informally rejected by Guido. But I don't know that there has been a formal PEP to be formally rejected. I suspect that most developers would prefer that further discussion of this issue continue on c.l.p and the corresponding python-list. Terry J. Reedy
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