[issue17794] Add a key parameter to PriorityQueue

Raymond Hettinger report at bugs.python.org
Fri Aug 23 20:25:31 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Starting in Python 3.7, dataclasses made it trivially easy to work around this issue.  The PriorityQueue docs have a worked out example of how to do this: https://docs.python.org/3/library/queue.html#queue.PriorityQueue

----------
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list