Skip to content

Published 1.1.188

Compare
Choose a tag to compare
@erictraut erictraut released this 18 Nov 06:45
· 3710 commits to main since this release

Bug Fix: Fixed issue that caused import resolution failures for certain submodules of google.cloud.

Bug Fix: Fixed crash in completion provider.

Bug Fix: Fixed bug in ParamSpec type evaluation that caused a false positive error when assigning a callable with a Concatenate to another ParamSpec.

Bug Fix: Fixed bug in ParamSpec logic that resulted in false positive when a TypeVar was used as within a Concatenate expression.

Bug Fix: Fixed bug in type evaluator that resulted in false positive error in strict mode. Type of call argument expression was incorrectly reported as partially unknown in some cases.

Bug Fix: Fixed bug that resulted in a false positive when a tuple with known element types is used as an unpacked argument in a call to a function that uses position-only parameters.

Bug Fix: Fixed type checking hole (false negative) in certain circumstances involving loop constructs and variables whose types are modified within these loops. This bug fix also has a positive performance impact when analyzing functions with complex code flow graphs.

Bug Fix: Fixed issue that caused CLI version of pyright to use incorrect Python interpreter to discover the Python version when no "pythonVersion" configuration setting was supplied.

Enhancement: Implemented diagnostic check for a ClassVar declaration that uses a type variable. PEP 526 explicitly states that this is not allowed.