False Positives Fixed
-
used-before-assignment
is no longer emitted when using a name in a loop and
depending on an earlier name assignment in anexcept
block paired with
else: continue
.Closes #6804
-
Avoid false positives for
no-member
involving function
attributes supplied by decorators.Closes #9246
-
Fixed false positive nested-min-max for nested lists.
Closes #9307
-
Fix false positive for
used-before-assignment
in afinally
block
when assignments took place in both thetry
block and each exception handler.Closes #9451
Other Bug Fixes
-
Catch incorrect ValueError
"generator already executing"
for Python 3.12.0 - 3.12.2.
This is fixed upstream in Python 3.12.3.Closes #9138