Skip to content

Published 1.1.189

Compare
Choose a tag to compare
@erictraut erictraut released this 22 Nov 07:17
· 3699 commits to main since this release

Bug Fix: Fixed regression relating to type inference for non-generic classes that have unannotated constructors (so-called "pseudo-generic classes").

Bug Fix: Fixed crash that occurred when specializing a class with a TypeVarTuple and failing to provide a type argument for the TypeVarTuple type parameter.

Bug Fix: Fixed recent regression in import resolver that caused a local import to no longer be preferred over an installed module by the same name.

Bug Fix: Fixed bug that caused incorrect type evaluation of parameter with implied Optional type based on None default argument value when strictParameterNoneValue setting is false.

Enhancement: Added checks for illegal forms of Literal type arguments.

Bug Fix: Fixed false positive error when using a union type expression in an isinstance or issubclass call on Python 3.10.

Bug Fix: Fixed bug in code flow engine that caused incorrect determination of node reachability in cases where an unannotated function recursively called itself.

Bug Fix: Fixed a hole in the type checking logic for TypedDict classes. It was not properly handling the invariant case.

Behavior Change: Made illegal assignment target checks unconditional so they are not gated by reportGeneralTypeIssues. These should be treated more like parse errors than type checking errors.