Behavior Change: When hovering over the LHS of an augmented assignment (e.g. the a
within a += x
), reveal the type of the symbol after the operation rather than before.
Enhancement: Updated the reportUnusedExpression
check to also report diagnostics for a simple name expression as a standalone statement.
Bug Fix (from pylance): Fixed several bugs related to "Rename Symbol" command and improved performance in some cases.
Bug Fix: Fixed crashing bug due to stack overflow when traversing the code flow graph.
Behavior Change: Modified algorithm for calculating the complexity of a function's code flow. If the complexity exceeds a certain threshold, pyright will not attempt to analyze the code.
Bug Fix: Fixed a bug that resulted in incorrect import resolution when the import referenced an empty directory within the stubspath. It should continue searching for imports in other locations in this case.
Bug Fix: Fixed regression that caused false positive error when protocol match involved a property that returned a type that was generic.
Bug Fix: Fixed bug that resulted in a false negative when assigning an invariant type var was specialized with a protocol type.
Bug Fix: Fixed several bugs relating to type evaluation within loops. This is a significant change to the code flow engine logic.