Skip to content

Published 1.1.55

Compare
Choose a tag to compare
@erictraut erictraut released this 22 Jul 02:02

Bug Fix: Changed logic for reportMissingModuleSource diagnostic rule so it isn't reported for stub files.

Enhancement: Added support for typing.OrderedDict, which is a generic alias for collections.OrderedDict.

Enhancement: Added support for new Python extension callback so Pyright extension is notified when pythonPath is modified.

Bug Fix: Fixed bug in docstring trimming code that resulted in some docstrings (those consisting of two lines where the second line was empty) not appearing when hovering over functions.

Bug Fix: Fixed bug in type checker that resulted in incorrect error when creating a generic type alias with a compatible TypeVar as one of the type arguments.

Bug Fix: Fixed bug that caused value expressions for default parameter values in lambdas to be evaluated within the wrong scope resulting in errors if the lambda scope had a same-named symbol.

Bug Fix: Fixed bugs in handling of wildcard imports. First, it was not properly handling the implicit introduction of symbol A in the statement "from .A import *". Second, it was implicitly including submodules as part of the wildcard, and it shouldn't.

Bug Fix: Fixed bug that resulted in incorrect error when using an unpack operator in an argument expression that corresponds to a *varg parameter in the callee.

Bug Fix: Fixed recent regression that caused 'isinstance' check to emit a bad error when 'self.class' was passed as a second argument.