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

Bengt Richter bokr at oz.net
Fri Feb 14 19:38:01 EST 2003


On Fri, 14 Feb 2003 04:17:17 +0100, Christian Tismer <tismer at tismer.com> wrote:

>Dear community,
>
>there has been some favor of my silly/simple a then b else c proposal.
>
I kind of like it, but the "then" word is not ideal, IMO. To express
conditional evaluation (i.e., the short-circuit aspect), perhaps a
little change?

    a condevals b else c

or maybe

    a chooses b else c

or
    a picks b else c

[... skipping other stuff for the moment ...]

Regards,
Bengt Richter




More information about the Python-list mailing list