[docs] [issue29321] Wrong documentation (Language Ref) for unicode and str comparison

Martin Panter report at bugs.python.org
Thu Jan 19 11:31:33 EST 2017


Martin Panter added the comment:

The Python 3 version of this was rewritten in Issue 12067. It would be good to port the new text to the Python 2 version, although that is not straightforward because of various differences between Python 2 and 3.

That doesn’t rule out making smaller more specific edits in the mean time. However your proposal still seems misleading to only mention str and unicode as special cases. It does not allow for str vs bytearray, set vs frozenset, or custom classes/types implementing their own __eq__() etc methods.

----------
nosy: +martin.panter

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


More information about the docs mailing list