This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Have the heaps library support max heap
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: rhettinger, signing_agreement
Priority: normal Keywords:

Created on 2020-02-28 19:44 by signing_agreement, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg362909 - (view) Author: (signing_agreement) * Date: 2020-02-28 19:44
For numeric types, I can negate the numeric argument for max heaps, but if I have strings, I cannot go about negating them.
msg362966 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2020-02-29 07:50
Thanks for the suggestion, but I am going to decline.  The min heap has suffices for a wide variety of use cases for many, many years.  I see your point when it comes to strings, but that is a somewhat exotic use case.
msg363028 - (view) Author: (signing_agreement) * Date: 2020-02-29 22:47
Do you a suggestion for non-numeric types?
History
Date User Action Args
2022-04-11 14:59:27adminsetgithub: 83967
2020-02-29 22:47:54signing_agreementsetmessages: + msg363028
2020-02-29 07:50:08rhettingersetstatus: open -> closed

nosy: + rhettinger
messages: + msg362966

resolution: rejected
stage: resolved
2020-02-28 19:44:20signing_agreementcreate