anything new on the ternary operator?

Andreas Jung lists at
Mon Jul 7 07:16:13 CEST 2003

--On Montag, 7. Juli 2003 2:13 Uhr +0000 Russell Reagan <rreagan at> 

> "Bob Gailer" <bgailer at> wrote
>> I was looking forward to having it.
> "Sean Ross" <sross at> wrote
>> - (if C: x else: y) won the vote
> I'm still learning python, so don't flame too much :-)
> What is superior about using the proposed ternary operator instead of
> using the 'and' and 'or' operators to simulate inline logic?

Please stop the discussion. The ternary operator is dead (which is a very 
good thing)
because GvR made the decision.


More information about the Python-list mailing list