[Python-ideas] except expression

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 14 00:37:50 CET 2014


Amber Yust wrote:
> Actually. What if we just reused 'try'?
> 
>     foo = bar() except BazException try 'qux'

This suggests that trying 'qux' may somehow fail to work,
which is not the intended meaning at all.

-- 
Greg


More information about the Python-ideas mailing list