PEP-308 a "simplicity-first" alternative
Bjorn Pettersen
BPettersen at NAREX.com
Wed Feb 12 19:09:32 EST 2003
> From: Bengt Richter [mailto:bokr at oz.net]
[...]
> I think I have an answer:
>
> result = cond and {true_value} or false_value
Yes, we got you the first three times <wink>. Your proposal
1. Doesn't give any indication that the expression is
a selection (i.e. the same as x and y or b).
2. Introduces random symbols that give simple expressions
new (and surprising) meaning... (i.e. just like Perl.)
-- bjorn
More information about the Python-list
mailing list