pylint #9776 warning if return or break inside a finally [resolved]
If you include a return or break statement inside the finally clause of a try... finally block then exceptions raised in the try clause are silently swallowed instead of being re-raised. This seems like a bad thing (tm) and it would be useful if pylint could warn about this. | |
priority | normal |
---|---|
type | enhancement |
done in | 0.20.0 |
load | 0.500 |
load left | 0.000 |
closed by | <not specified> |
similar entities