github microsoft/pyright 1.1.169
Published 1.1.169

latest releases: 1.1.383, 1.1.382, 1.1.381...
3 years ago

Bug Fix: Improved type narrowing logic for a is b pattern where a is self (or a bound TypeVar) and b is an enum literal.

Bug Fix: Updated reportIncompatibleMethodOverride diagnostic check to special-case dict key names that overlap with method names in the _TypedDict class.

Bug Fix: Improved handling of attribute accesses for classes that inherit from Any or an unknown class.

Enhancement: Added optimization that reduces the time it takes to perform code flow analysis in the presence of if/elf/else statements, try statements, with statements, and ternary expressions.

Bug Fix: Fixed bug that caused false positive when a bound TypeVar is bound to an instantiable class (e.g. Type[X]).

Don't miss a new pyright release

NewReleases is sending notifications on new releases.