github microsoft/pyright 1.1.107
Published 1.1.107

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

Bug Fix: Fixed cyclical type resolution with TypeVar.

Behavior Change: Updated typeshed stubs to new directory layout.

Bug Fix: Fixed false positive error in try/except/finally statement. Call expressions are now assumed to possibly result in raised exceptions, and finally clauses are assumed to be exception targets.

Bug Fix: Fixed regression in import resolution where the first portion of the import path matches multiple namespace packages.

New Feature: Added initial support for PEP 646 (variadic type variables). This PEP is still in the draft stage and is likely to change before it is ratified.

Enhancement: Added check for duplicate keyword arguments that map to **kwargs parameter.

Enhancement: Added support for class properties, which are now supported in Python 3.9.

Behavior: Eliminated false positive errors for unbound variables that are targets of a for loop iterator and used after the for loop. This change can result in some false negatives.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.