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.

Author rhettinger
Recipients mCoding, rhettinger
Date 2021-02-22.19:56:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614023797.24.0.738002287091.issue43300@roundup.psfhosted.org>
In-reply-to
Content
I prefer option 5 and leaving the module as-is.  The bisect module api is slice oriented and, in general, people have a hard time reasoning about slices for reverse ordered sequences.  Even the forward ordered API is a bit awkward so that we had to document how to implement find_lt(), find_le(), etc. because it wasn't obvious how to do so.  Also, it doesn't seem to come-up much (the bisect module is over two decades old).  So, I don't think the API and the internals should be gummed up for this.

My vote is -1 because it would cause more problems than it would solve.  Let's cater to the common use cases rather than every possible variant.
History
Date User Action Args
2021-02-22 19:56:37rhettingersetrecipients: + rhettinger, mCoding
2021-02-22 19:56:37rhettingersetmessageid: <1614023797.24.0.738002287091.issue43300@roundup.psfhosted.org>
2021-02-22 19:56:37rhettingerlinkissue43300 messages
2021-02-22 19:56:37rhettingercreate