v2.13.1
·
3408 commits
to main
since this release
-
Fix a regression in 2.13.0 where
used-before-assignmentwas emitted for
the usage of a nonlocal in a try block.Fixes #5965
-
Avoid emitting
raising-bad-typewhen 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.HVACModeTorIPAddressT.Closes #5981
-
Fixed false positive for
unused-argumentwhen anonlocalname 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/dictwhen the list/dict/set
being iterated through is a function call.Closes #5969
-
Don't emit
broken-noreturnandbroken-collections-callableerrors
insideif TYPE_CHECKINGblocks.