[issue21873] Tuple comparisons with NaNs are broken

akira report at bugs.python.org
Fri Jun 27 01:23:01 CEST 2014


akira added the comment:

> Python containers are allowed to let identity-imply-equality (the reflesive property of equality).

Is it documented somewhere?

> Dicts, lists, tuples, deques, sets, and frozensets all work this way. 

Is it CPython specific behaviour?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21873>
_______________________________________


More information about the Python-bugs-list mailing list