[issue2771] test issue

Daniel Diniz report at bugs.python.org
Tue Apr 7 17:06:43 CEST 2009


Daniel Diniz <ajaksu at gmail.com> added the comment:

> Having them compare unequal means you can't actually trust unbound
> method comparison, nor using unbound methods as keys in a dictionary.

"Trust" is a strong word. You can trust the comparison operator if you
agree with its semantics, you cannot trust it if you want different
semantics. But that doesn't mean it is generally trustworthy or
untrustworthy.

Really, this is the same as with numbers:

'b'

----------

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


More information about the Python-bugs-list mailing list