[Python-Dev] "as" to be a keyword?

Phillip J. Eby pje at telecommunity.com
Fri Jul 16 19:56:09 CEST 2004


Is it true that 'as' is going to become a keyword in future?  I ask, 
because I  was thinking about implementing an 'as' function, such that:

     [as(classmethod)]
     def foo(...):
         ...

will work for Python 2.2 and up.

Actually, I've already written and tested the function itself, it's just 
that I would like to be sure that I shouldn't try to come up with another 
name.  :)



More information about the Python-Dev mailing list