News for hackers. Stuff that matters.
Re:PEP 308 and why I still hate Python by oxryly1 on Thursday March 09, 2017 @09:01PM (#13835725)
But "condition" is just a placeholder. A concrete example would be:

   msg = if (status == 0) "done" else "error"
Re:PEP 308 and why I still hate Python by secstate on Thursday March 09, 2017 @09:04PM (#13835734)
Take away the parens (which python is pretty explicit such structure should not be required to be legible).

msg = if status == 0 "done" else "error"

From a compiler perspective that's a bear to parse.