On Thursday, August 18, 2016 at 6:28:06 AM UTC+12, Terry Reedy wrote: > >> Why couldn’t they have adopted the standard C >> syntax, as used in a whole bunch of other C-derivative languages? >> cond ? trueval : falseval > > That particular syntax was not really considered. At least 10 versions > using 'if', 'then', 'else', and other tokens were. > > They all had the problem of requiring a new keyword such as 'then' or > some other innovation.
What was wrong with adopting the C syntax? That would have introduced “?” as a new symbol. What impact what that have had on existing Python code? None that I can think of. -- https://mail.python.org/mailman/listinfo/python-list