On Wed, Aug 17, 2016, at 14:27, Terry Reedy wrote: > 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.
Why not just if(cond, trueval, falseval), a la Visual Basic? It's too late to change now, but I'm curious as to whether it was considered or not. -- https://mail.python.org/mailman/listinfo/python-list