Skip to content

v2.13.1

Compare
Choose a tag to compare
@Pierre-Sassoulas Pierre-Sassoulas released this 26 Mar 13:08
· 2955 commits to main since this release
  • 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 or IPAddressT.

    Closes #5981

  • Fixed false positive for unused-argument when a nonlocal 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 and broken-collections-callable errors
    inside if TYPE_CHECKING blocks.