Skip to content

Published 1.1.85

Compare
Choose a tag to compare
@erictraut erictraut released this 11 Nov 19:17

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.