Skip to content

Published 1.1.142

Compare
Choose a tag to compare
@erictraut erictraut released this 21 May 16:16
· 4745 commits to main since this release

Bug Fix: Fixed false negative (missing error) due to bug in dictionary expression bidirectional type inference logic when the expected type included a union.

Enhancement: Added support for subscript expressions that contain slices when applied to tuples with known lengths.

Bug Fix: Fixed false negative condition where a protocol class was treated as a callback protocol even though it included members other than __call__.

Bug Fix: Fixed false positive error when a builtin symbol was used in a file but later redeclared within the module scope.

Bug Fix: Fixed bug in "expression printer" which is used in some error messages. It was not properly preserving parentheses for binary operation expressions.

Bug FIx: Fixed false positive error for "missing type arguments" that was surfaced when changes were made within typeshed's types.pyi stub.