[Python-ideas] except expression

Chris Angelico rosuav at gmail.com
Tue Feb 18 03:35:35 CET 2014


On Tue, Feb 18, 2014 at 1:32 PM, Rob Cliffe <rob.cliffe at btinternet.com> wrote:
> Yes!  I love consistency.  No new learning curve.  Did I not imply in an
> earlier post that any future syntax added to "except" statements could also
> be incorporated in "except" expressions?  (I did.)  (Please be tolerant with
> me, I've had a few drinks.  Thank you. :-) )

Yeah. That point is a strong one in favour of the "except Exception
[as e]: expr" notation.

ChrisA


More information about the Python-ideas mailing list