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.
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/26J226MOIJF7ULAWC2WGSSMX5KWR2J37/ Code of Conduct: http://python.org/psf/codeofconduct/