PEP 308: Pep Update

Manuel Garcia news at
Thu Feb 13 23:09:37 CET 2003

On Thu, 13 Feb 2003 07:02:26 GMT, "Raymond Hettinger"
<vze4rx4y at> wrote:
>The leading options on the table are:
>*     (if <cond>: <expr1> else: >expr2>)
>*     <cond> then <expr1> else <expr2>
>*     <cond> ? <expr1> : <expr2>
>*     no change

My favorite was ?? ||.  Oh well...

I hope that parentheses will be required, no matter what the syntax.
I am a little worried about seeing deeply nested bunches of these
things.  If parentheses were required, a text editor with matching
brace highlighting could make understanding any deep nesting trivial.


More information about the Python-list mailing list