On Wed, Jun 16, 2021 at 10:56:12AM +1000, Chris Angelico wrote:

> Dangerous idea - my first interpretation of that syntax was that it
> would be equivalent to "except ValueError: pass", which would be very
> confusing (it's subtly different in your example with return, and
> drastically different in other cases).

Aside from the difference in chained exceptions (the exception cause or 
context, I forget which is which, will be different) surely it is the 
same as `except ValueError: pass`?

TBH I thought that difference was so minor that it wasn't even worth 
mentioning.

-- 
Steve
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/45ISBH6X4JUH3WGHP6XQ27TG2DTOZIPL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to