[issue22515] Implement partial order on Counter

Serhiy Storchaka report at bugs.python.org
Sat Oct 4 12:08:33 CEST 2014


Serhiy Storchaka added the comment:

At least this condition is false for current implementation:

(a < b and b < a) == False

Example: a = Counter({'a': -1}), b = Counter({'b': -1}).

----------

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


More information about the Python-bugs-list mailing list