Upgrading mypy 0.981 to 0.982
Unknown0.981 → 0.982
Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
class CollectArgTypes(TypeTraverserVisitor) - removed:
constructor CollectArgTypes() -> None - removed:
function is_overlapping_types_no_promote(left: Type, right: Type) -> bool - removed:
method CollectArgTypes.visit_type_var(t: TypeVarType) -> None - added:
class CollectArgTypeVarTypes(TypeTraverserVisitor) - added:
constructor CollectArgTypeVarTypes() -> None - added:
function is_overlapping_types_no_promote_no_uninhabited(left: Type, right: Type) -> bool - added:
method CollectArgTypeVarTypes.visit_type_var(t: TypeVarType) -> None
- changed:
function is_overlapping_types(left: Type, right: Type, ignore_promotions: bool=…, prohibit_none_typevar_overlap: bool=…) -> bool → function is_overlapping_types(left: Type, right: Type, ignore_promotions: bool=…, prohibit_none_typevar_overlap: bool=…, ignore_uninhabited: bool=…) -> bool
- changed:
constructor SubtypeContext(*, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…, erase_instances: bool=…, keep_erased_types: bool=…, options: Options | None=…) -> None → constructor SubtypeContext(*, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…, ignore_uninhabited: bool=…, erase_instances: bool=…, keep_erased_types: bool=…, options: Options | None=…) -> None - changed:
function check_type_parameter(lefta: Type, righta: Type, variance: int, proper_subtype: bool) -> bool → function check_type_parameter(lefta: Type, righta: Type, variance: int, proper_subtype: bool, subtype_context: SubtypeContext) -> bool - changed:
function ignore_type_parameter(lefta: Type, righta: Type, variance: int, proper_subtype: bool) -> bool → function ignore_type_parameter(lefta: Type, righta: Type, variance: int, proper_subtype: bool, subtype_context: SubtypeContext) -> bool - changed:
function is_equivalent(a: Type, b: Type, *, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, options: Options | None=…) -> bool → function is_equivalent(a: Type, b: Type, *, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, options: Options | None=…, subtype_context: SubtypeContext | None=…) -> bool - changed:
function is_proper_subtype(left: Type, right: Type, *, subtype_context: SubtypeContext | None=…, ignore_promotions: bool=…, erase_instances: bool=…, keep_erased_types: bool=…) -> bool → function is_proper_subtype(left: Type, right: Type, *, subtype_context: SubtypeContext | None=…, ignore_promotions: bool=…, ignore_uninhabited: bool=…, erase_instances: bool=…, keep_erased_types: bool=…) -> bool - changed:
function is_same_type(a: Type, b: Type, ignore_promotions: bool=…) -> bool → function is_same_type(a: Type, b: Type, ignore_promotions: bool=…, subtype_context: SubtypeContext | None=…) -> bool - changed:
function is_subtype(left: Type, right: Type, *, subtype_context: SubtypeContext | None=…, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…, options: Options | None=…) -> bool → function is_subtype(left: Type, right: Type, *, subtype_context: SubtypeContext | None=…, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…, ignore_uninhabited: bool=…, options: Options | None=…) -> bool