Pyright

Latest version: v1.1.398

Safety actively analyzes 724451 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 74 of 82

1.0.49

Bug Fix: Added support in type checker for assignment expressions that target tuples that end in an unpack expression. The previous version simply crashed in this case, resulting in an "internal error" message.
Bug Fix: Fixed handling of multi-root workspaces in VS Code extension. The previous version assumed that workspace roots were always peer folders. It now handles nesting.

1.0.48

Enhancement: Implemented more thorough type checking for assignments — especially assignments to member variables.
Bug Fix: Eliminated some redundant and inconsistent error messages relating to assignments. Added missing information to some error messages.
Bug Fix: Fixed issue that caused duplicate errors to appear for some conditions related to list comprehensions.

1.0.47

New Feature: Added knowledge of built-in type ModuleType.
New Feature: Added support for per-folder settings in a multi-root workspace.

1.0.46

Bug Fix: Fixed regression that caused crash in VS Code extension for some users. The regression was introduced as part of the new multi-root workspace support.

1.0.45

New Feature: Added support for multi-root workspaces.
Bug Fix 167: Fixed bug in parsing of f-string expressions.

1.0.44

New Feature: Type analyzer now infers a function return type of "NoReturn" if function doesn't return any value and always raises an exception. Methods marked abstractmethod are exempt. An explicit return type annotation always overrides this inference.
Bug Fix: Fixed logic for try/except/else/finally statements to properly handle code flow analysis. The previous implementation was incorrectly identifying unreachable code.
Bug Fix: Type analyzer wasn't correctly inferring type of set when a set comprehension was used.

Page 74 of 82

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.