[Python-ideas] except expression

Chris Angelico rosuav at gmail.com
Wed Feb 19 14:31:18 CET 2014


On Thu, Feb 20, 2014 at 12:00 AM, אלעזר <elazarg at gmail.com> wrote:
> A bit OT:
> I think there should be a mention in the PEP of other languages with
> exception-handling expressions, like SML's
>
>     - (hd []) handle Empty => 1;
>     val it = 1 : int

I'm not familiar with SML. Want to write up a paragraph that I can
insert directly into the PEP?

ChrisA


More information about the Python-ideas mailing list