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

Sean Ross sross at connectmail.carleton.ca
Fri Feb 14 22:35:24 EST 2003


heh, I know, I suggested it...


"Erik Max Francis" <max at alcyone.com> wrote in message
news:3E4DA919.6FDE5D8F at alcyone.com...
> 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