Message406970
Ah, thank you, Serhiy. I didn't know that, but I see that in the documentation:
https://docs.python.org/3/reference/compound_stmts.html#the-try-statement
But what about the 2nd case I presented where a `RuntimeError` was raised? That's the actual case I'm working on. Based on this:
> If the finally clause raises another exception, the saved exception is set as the context of the new exception.
My expectation is that the two exceptions would be chained. |
|
Date |
User |
Action |
Args |
2021-11-25 00:34:05 | Amos.Anderson | set | recipients:
+ Amos.Anderson, asvetlov, serhiy.storchaka, yselivanov |
2021-11-25 00:34:04 | Amos.Anderson | set | messageid: <1637800444.99.0.880567147976.issue45894@roundup.psfhosted.org> |
2021-11-25 00:34:04 | Amos.Anderson | link | issue45894 messages |
2021-11-25 00:34:04 | Amos.Anderson | create | |
|