Random832 wrote:
I have, occasionally, wanted to be able to resume a function
after handling an exception ... In a hypothetical
implementation that would allow such a thing, having the raise return a value
in such a scenario might not be unreasonable.

For that to be of any use, the code that raises the exception
would have to be aware of the possibility that it could be
resumed, and could therefore do something other than raising,
such as calling a hook function that may or may not raise an
exception.

--
Greg
_______________________________________________
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/RRXDOD4LWN4GGUJZEXHLRFELTVOPY6IT/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to