[issue22515] Implement partial order on Counter

Ram Rachum report at bugs.python.org
Sat Oct 4 12:43:39 CEST 2014


Ram Rachum added the comment:

I see that in my implementation for __lt__ and __gt__ I forgot to check whether the other counter has elements that this counter doesn't, which could flip `found_strict_difference`.

----------

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


More information about the Python-bugs-list mailing list