Skip to content

Published 1.1.115

Compare
Choose a tag to compare
@erictraut erictraut released this 25 Feb 02:40

Bug Fix: Fixed false positive bug where "class not runtime subscriptable" error was reported even if in a type stub.

New Feature: Implemented command-line switches for pythonplatform and pythonversion. These are overridden by pyrightconfig.json settings.

New Feature: Added support for comments and trailing comments within pyrightconfig.json.

Enhancement: Updated to latest typeshed stubs.

Enhancement (from Pylance): Improve auto-import performance.

Enhancement (from Pylance): Added extra perf tracking.

Bug Fix: Fixed false positive error that incorrectly complained about the use of Annotated as a class with no type arguments.

Bug Fix: Fixed false positive error when using bidirectional inference of dictionary expression where the expected type key and/or value types contain literals.

Bug Fix: Fixed bug that resulted in wildcard imports (i.e. imports the form from x import *) to import symbols from the target that were not meant to be externally visible. This bug occurred only when the imported module had no __all__ symbol defined.

Bug Fix: Fixed bug in validation of constrained types in TypeVars. Subtypes of constrained types should be allowed.