github microsoft/pyright 1.1.199
Published 1.1.199

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

Bug Fix: Fixed bug that resulted in false positive error when class constructor is invoked with more than one argument and the class's metaclass has a custom __call__ method.

Enhancement: Updated typeshed stubs to the latest version.

Bug Fix: Fixed recent regression that resulted in false positive when assigning a Type[Proto] to Type[Proto].

Enhancement: Added type checking for class constructor calls when the class has a metaclass with a custom __call__ method.

Bug Fix: Fixed a bug that resulted in an incorrect type inference when assigning to a list that includes an unpacked target variable.

Enhancement: Improved handling of call expressions that have a NoReturn type. In particular, the logic now handles constructors, __call__ methods, inferred symbol types, and symbol import chains.

Bug Fix: Fixed bug that resulted in infinite recursion in certain cases when an aliased conditional expression was used.

Bug Fix: Fixed bug in type evaluator that masked certain type errors when assigning a concrete type to a class TypeVar type.

Bug Fix: Fixed bug that caused false positive when passing a generic function callback as an argument to another generic function.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.