Query module BreakOrReturnInFinally

name
‘break’ or ‘return’ statement in finally
description
Using a Break or Return statement in a finally block causes the Try-finally block to exit, discarding the exception.
kind
problem
tags
reliability maintainability external/cwe/cwe-584
problem.severity
warning
sub-severity
low
precision
medium
id
py/exit-from-finally

Imports