On 2016-08-17 19:39, Random832 wrote:
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.
Well, it looks too much like a function call, which don't short-circuit.
--
https://mail.python.org/mailman/listinfo/python-list