Message369559
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. |
|
Date |
User |
Action |
Args |
2020-05-22 07:27:01 | Dennis Sweeney | set | recipients:
+ Dennis Sweeney, tim.peters, rhettinger, serhiy.storchaka, bbayles |
2020-05-22 07:27:01 | Dennis Sweeney | set | messageid: <1590132421.88.0.743949451353.issue38938@roundup.psfhosted.org> |
2020-05-22 07:27:01 | Dennis Sweeney | link | issue38938 messages |
2020-05-22 07:27:01 | Dennis Sweeney | create | |
|