Author Dennis Sweeney
Recipients Dennis Sweeney, bbayles, rhettinger, serhiy.storchaka, tim.peters
Date 2020-05-22.07:27:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590132421.88.0.743949451353.issue38938@roundup.psfhosted.org>
In-reply-to
Content
key_and_reverse.py employs the same strategy as winners.py, but uses lists as the nodes of the tree rather than using Node instances. It also eliminates the recursion of treeify, and adds (with neither much of a performance hit nor much code duplication) support for ``key=some_func`` and/or ``reverse=True`` keyword arguments, so it now passes the test_heapq suite.
History
Date User Action Args
2020-05-22 07:27:01Dennis Sweeneysetrecipients: + Dennis Sweeney, tim.peters, rhettinger, serhiy.storchaka, bbayles
2020-05-22 07:27:01Dennis Sweeneysetmessageid: <1590132421.88.0.743949451353.issue38938@roundup.psfhosted.org>
2020-05-22 07:27:01Dennis Sweeneylinkissue38938 messages
2020-05-22 07:27:01Dennis Sweeneycreate