Enhancement: Avoid completion suggestions when typing an ellipsis. (Thanks to contribution from Marc Mueller.)
Bug Fix: Fixed false positive errors relating to unions created from a Type[T]
type.
Bug Fix: Fixed bug that caused class docString not to appear in signature help when invoking constructor for classes with synthesized constructor methods (e.g. dataclass or namedtuple).
Behavior Change: Changed reportPrivateUsage
diagnostic check to suppress the check when method or attribute comes from a type stub file. It is presumably part of the public interface contract in this case and not a private or protected member.
Enhancement: Added completion suggestion support for dictionary key names.
Bug Fix: Fixed bug in type evaluator that resulted in incorrect type in certain cases when evaluating function with declared return type of Type[T]
.
Bug Fix: Fixed false positive error that occurred when evaluating a binary operation provided by a metaclass when the LHS or RHS type was a Type[T]
.
Behavior Change: In basic type checking mode, enabled the following diagnostic checks by default: reportOptionalSubscript, reportOptionalMemberAccess, reportOptionalCall, reportOptionalIterable, reportOptionalContextManager, and reportOptionalOperand.
Bug Fix: Fixed crashing bug in document symbol provider when handling import statements.
Bug Fix: Fixed type evaluation bug that affected the specialization of a generic type alias that includes a bound TypeVar.