
Aug. 5, 2004
4:36 a.m.
Just a question, when "as" become a keyword in Python 3, can we expect a new syntax using that keyword instead (or additionally)? There's multiple possible syntaxes using "as", even replacing simply @ by "as" would be an improvement IMHO, since that would be english-readable (as static method define foo), like most of Python.
When 'as' becomes a keyword, it is open for use in other syntax, but it won't be used for decorators (as long as I'm BDFL). 'as' suggests a renaming (like it does in import and in SQL) or perhaps a type (I've seen "as duck" in a new vaguely Pythonic language named "boo"), but that's not what decorators doo. --Guido van Rossum (home page: http://www.python.org/~guido/)