PEP 318 - Function Modifier Syntax
Erik Max Francis
max at alcyone.com
Wed Jun 11 03:26:52 CEST 2003
> Failure to establish a benefit is not an existence proof of a
> detriment. Be that as it may, I agree with you that an alternate
> word would be helpful (although it has the disadvantage of breaking
> backwards compatability, whereas reusing an old keyword does not).
> to muddle things up.
Well, it doesn't have to. The required keyword here would be
subordinate -- i.e., it's only recognized as a keyword in these
particular circumstances -- and so could be used as a legitimate
variable elsewhere. This is true of the `as' keyword, for instance;
nothing prevents you from having a variable named `as':
>>> as = 1
>>> from time import time as as
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ But who shall dwell in these worlds if they be inhabited?
\__/ Johannes Kepler
More information about the Python-list