1.1.267
版本发布时间: 2022-08-17 09:42:37
microsoft/pyright最新发布版本:1.1.387(2024-10-30 09:17:48)
Bug Fix: Fixed bug that caused error to be suppressed when calling assert_never
with bad arguments (incorrect number, etc).
Enhancement: Added support for dictionary expansion of a TypedDict within a dictionary literal expression.
Enhancement: Extended support for union expansion of constrained type variables when performing overload matching.
Bug Fix: Fixed a bug that resulted in different type evaluation behaviors depending on the order of callable types within a union.
Bug Fix: Fixed bug that resulted in a false positive error when the second argument to a type
constructor call includes a tuple that includes a type
class.
Bug Fix: Fixed a bug that resulted in incorrect type evaluation when a generic type alias consists solely of a type variable or a type variable wrapped in Annotated
.
Bug Fix: Fixed bug in parser that resulted in crash when a soft keyword was used as a class pattern keyword argument name.
Bug Fix: Fixed a bug in the special-case logic that handles __all__.extend(<submodule>.__all__)
so it better handles the case where <module>
is imported using an import statement of the form from x import submodule
.