[issue46019] collections.Counter - Cast list of keys into set to remove iteration over duplicate elements for __le__, __ge__ and __eq__

Rahul Gupta report at bugs.python.org
Wed Dec 8 21:27:54 EST 2021


Rahul Gupta <rg119 at ic.ac.uk> added the comment:

After looking at this again, I agree with you - the key duplication issue seems to have gone. Thank you for providing this feedback, it is very helpful.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46019>
_______________________________________


More information about the Python-bugs-list mailing list