github microsoft/pyright 1.1.85
Published 1.1.85

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

Behavior Change: Changed diagnostic about first argument to super call to be part of the reportGeneralTypeIssues diagnostic rule so it is suppressed when type checking mode is set to "off".

Bug Fix: Fixed bug that caused code within finally clause to be marked as unreachable if there was no except clause and the code within the try block always raised an exception.

Bug Fix: Fixed bugs in ParamSpec logic. It was not properly handling the case where the target callable type contained keyword-only or positional-only parameter separators.

Bug Fix: Added support for tuple and type subscripts when __future__ annotations is defined.

Bug Fix: Fixed bug that caused improper errors when using new-style union syntax with from __future__ import annotations.

Bug Fix: Worked around a reported bug in node 14+ on Linux where calls to fs.watch throw an exception when creating a recursive file watcher. The workaround is to catch the exception and proceed without a file watcher in place.

Enhancement: Updated typeshed stubs to the latest.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.