[issue18241] Add unique option to heapq functions
Irit Katriel
report at bugs.python.org
Mon Mar 21 19:10:41 EDT 2022
Irit Katriel <iritkatriel at gmail.com> added the comment:
I would dedup when extracting items from the queue, because it is trivial to find duplicates then. It can be done with a simple wrapper, without any changes to the queue.
----------
nosy: +iritkatriel
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18241>
_______________________________________
More information about the Python-bugs-list
mailing list