-
Notifications
You must be signed in to change notification settings - Fork 2k
LGTM.com - false positive #5910
Copy link
Copy link
Open
Labels
PythonacknowledgedGitHub staff acknowledges this issueGitHub staff acknowledges this issuefalse-positivenot securityThis issue does not relate to a security queryThis issue does not relate to a security query
Metadata
Metadata
Assignees
Labels
PythonacknowledgedGitHub staff acknowledges this issueGitHub staff acknowledges this issuefalse-positivenot securityThis issue does not relate to a security queryThis issue does not relate to a security query
Type
Fields
Give feedbackNo fields configured for issues without a type.
LGTM reports as unreachable a line following a
finallyclause attached to atryblock containing a seemingly-infinite loop which is exited via a side-effect of a signal handler.I'll grant that there are a number of ways that execution could fail to reach the flagged statement, but there is at least one way which I think it can.
See non-infinite loop.