[Python-Dev] PEP 463: Exception-catching expressions

Antoine Pitrou solipsis at pitrou.net
Sat Feb 22 10:13:17 CET 2014


On Fri, 21 Feb 2014 09:37:29 -0800
Guido van Rossum <guido at python.org> wrote:
> I'm put off by the ':' syntax myself (it looks to me as if someone forgot a
> newline somewhere) but 'then' feels even weirder (it's been hard-coded in
> my brain as meaning the first branch of an 'if').

Would 'else' work rather than 'then'?

Regards

Antoine.


More information about the Python-Dev mailing list