[Python-Dev] Re: 2.4a2, and @decorators

Nicolas Fleury nidoizo at yahoo.com
Thu Aug 5 03:11:28 CEST 2004


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.

Guido van Rossum wrote:
> Not IMO, that would just add more mystery (and would require yet
> another hack in classmethod to allow it to be called without args).

Regards,
Nicolas



More information about the Python-Dev mailing list