[issue36857] bisect should support descending order
Raymond Hettinger
report at bugs.python.org
Wed May 8 15:50:08 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Sorry, I don't think this is a worthwhile API extension. The bisect module is primarily about searching for cut points between ranges. For your use case, consider using blist or one of the many ordered collection recipes on PyPI (for example: http://www.grantjenks.com/docs/sortedcollections/ ).
----------
assignee: -> rhettinger
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36857>
_______________________________________
More information about the Python-bugs-list
mailing list