25 Sep
2020
25 Sep
'20
6:31 p.m.
On 2020-09-25 at 13:44:36 +0100,
Samuel Colvin
2. We should have some easy way to say "let this error propagate", rust uses very nice question mark at the end of a line syntax, python could use something similar one day, until then a magic comment, wrapper function or context function could be used.
In Python, the way to say "let this error propagate" is not to say anything at all. y = f(x) says (and very concisely, I might add) "if f raises an exception, or propagates some exception from some other place, then let that exception propagate."