anything new on the ternary operator?

Michael Hudson mwh at
Tue Jul 8 12:42:14 CEST 2003

Erik Max Francis <max at> writes:

> There's not much doubt that the conditional operator will not be making
> it into Python in the future, but just because the BDFL has made a
> decree (although a significantly delayed one), it's a little naive to
> think that discussion of it will not continue.  This clause was in the
> PEP ("the subject better not come up again"), but I'm not sure how this
> clause will really have much effect.

Slightly astonishingly, this does really seem to work.  Consider PEP 666.


  If I didn't have my part-time performance art income to help pay
  the  bills, I could never afford to support my programming 
  lifestyle.                                -- Jeff Bauer, 21 Apr 2000

More information about the Python-list mailing list