github microsoft/pyright 1.1.56
Published 1.1.56

latest releases: 1.1.384, 1.1.383, 1.1.382...
4 years ago

Bug Fix: Fixed bug that caused the default python platform not to be specified if there was no config file and no python interpreter selected.

Bug Fix: Fixed crash in type checker that occurs when removing NoReturn from a union and having no remaining types.

Bug Fix: Fixed bug that caused __name__ not to be flagged as an invalid attribute on a class instance.

Bug Fix: Fixed bug that caused quoted type annotation (i.e. a forward reference) that contains type arguments to report an "unbound symbol".

Enhancement: Improved CompletionItemKind for intrinsic class symbols like __name__, etc.

Bug Fix: Fixed bug in parsing of unicode named character encodings within string literals when the encoding included capital letters.

Bug Fix: Fixed bug whereby a non-function definition (such as an instance variable) within a subclass was not considered as having overridden an abstract method or property within a base class.

Change in Behavior: Changed Never internal type to be assignable to any type. Previously, it was assignable to no type.

Bug Fix: Fixed bug that caused a spurious error during TypeVar matching when the TypeVar is constrained and is initially matched against an Any or Unknown type but is later matched against a known type.

Bug Fix: Fixed bug in dataclass logic that reported spurious error when initializing attribute with field(init=False).

Change in Behavior: Renamed ParameterSpecification to ParamSpec to reflect latest PEP 612 changes.

Enhancement: Updated typeshed fallback stubs to latest version.

Change in Behavior: Updated PEP 612 and 614 features to be dependent on 3.10 rather than 3.9.

Bug Fix: Fixed bug that caused diagnostics to persist in files that are not part of the workspace even after they are closed.

Bug Fix: Fixed bug that generated incorrect type checking error when type alias used a Type[x] type annotation.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.