SIGN IN SIGN UP

bpo-44636: Collapse union of equal types (GH-27178)

The result of `int | int` is now `int`.

Fix comparison of the union type with non-hashable objects.
`int | str == {}` no longer raises a TypeError.
S
Serhiy Storchaka committed
d9f923280f204204f8703756aef4f655b579b4b8
Parent: aeaa553
Committed by GitHub <noreply@github.com> on 7/16/2021, 9:49:33 AM