PEP 308: "then" "else" for deprecating "and" "or" side effects

Erik Max Francis max at alcyone.com
Sat Feb 15 03:42:33 CET 2003


Sean Ross wrote:

> Actually, he does mean "x when C else y",  not "C when x else y"...

Oh, okay, then I withdraw my objection.  Note that `when' as an
alternative to `if' in the original `x if C else y' form was one of the
first additional alternative suggested.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Man is preceded by forest, followed by desert.
\__/ (graffiti written during French student revolt)
    Computer science / http://www.alcyone.com/max/reference/compsci/
 A computer science reference.




More information about the Python-list mailing list