24 Jan
2020
24 Jan
'20
8:29 a.m.
24.01.20 03:29, Tim Peters пише:
If it's intended that Python-the-language requires this, that needs to be documented.
I think it is already documented somewhere. Even Python implementations like collections.abc.Sequence and collections.abc.Mapping were changed to use `x is y or x == y` instead of just `x == y` few versions ago. So this is not just CPython implementation detail.