PEP-308 a "simplicity-first" alternative
Erik Max Francis
max at alcyone.com
Sun Feb 16 12:16:42 EST 2003
Piet van Oostrum wrote:
> The "or" should be "but".
> But as "but" would be a new keyword, "except" may be better:
>
> val = sqrt(x) except "imaginary" if x<0
Using the keyword `except' in a context that has nothing to do with
except handling doesn't seem like a very good idea, to me.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ There are countless planets, like many island Earths ...
\__/ Konstantin Tsiolkovsky
Maths reference / http://www.alcyone.com/max/reference/maths/
A mathematics reference.
More information about the Python-list
mailing list