16 Jul 2004 16 Jul '04
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. :)
17 Jul 17 Jul
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/)
Age (days ago)
Last active (days ago)
"Martin v. Löwis"
Guido van Rossum
Phillip J. Eby