github microsoft/pyright 1.1.186
Published 1.1.186

latest releases: 1.1.360, 1.1.359, 1.1.358...
2 years ago

Enhancement: Added checks for incorrect runtime usage of a UnionType object.

Enhancement: Added more complete type checks involving the use of a default argument for a generic parameter in a constructor.

Bug Fix: Fixed a bug that resulted in a false positive error when accessing members from a type instance or a Type[T].

Bug Fix: Fixed false positive error related to heuristics employed in bidirectional type inference for calls when the expected type comprises a union and the return type of the call is a union that includes Any and a type variable.

Enhancement: Added support for slots parameter to dataclass, a new feature added in Python 3.10.

Bug Fix: Fixed regression that caused a false positive error related to incorrect usage of a type variable within a type alias definition.

Bug Fix: Fixed incorrect handling of client-initiated progress reporting for "onReferences" and "onExecuteCommand" handlers in language server.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.