
16 Jul
2004
16 Jul
'04
7:56 p.m.
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
1:14 a.m.
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/)
6825
Age (days ago)
6825
Last active (days ago)
2 comments
3 participants
participants (3)
-
"Martin v. Löwis"
-
Guido van Rossum
-
Phillip J. Eby