-
Fix a regression in 2.13.0 where
used-before-assignment
was emitted for
the usage of a nonlocal in a try block.Fixes #5965
-
Avoid emitting
raising-bad-type
when there is inference ambiguity on
the variable being raised.Closes #2793
-
Loosen TypeVar default name pattern a bit to allow names with multiple uppercase
characters. E.g.HVACModeT
orIPAddressT
.Closes #5981
-
Fixed false positive for
unused-argument
when anonlocal
name is used
in a nested function that is returned without being called by its parent.Closes #5187
-
Fix program crash for
modified_iterating-list/set/dict
when the list/dict/set
being iterated through is a function call.Closes #5969
-
Don't emit
broken-noreturn
andbroken-collections-callable
errors
insideif TYPE_CHECKING
blocks.