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. :)
Is it true that 'as' is going to become a keyword in future?
I doubt it. If this was meant to happen, it would have happened long ago.
It will be a keyword in Python 3.0.
Before then, it's probably not worth facing the comaptibility issues.
--Guido van Rossum (home page: http://www.python.org/~guido/)