[issue5964] WeakSet cmp methods

Antoine Pitrou report at bugs.python.org
Sun May 10 22:58:04 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

I don't think it is the intended behaviour. Comparison for equality
should return either True or False (or perhaps NotImplemented?), not
raise a TypeError.

----------
nosy: +pitrou
priority:  -> normal
stage:  -> needs patch

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


More information about the Python-bugs-list mailing list