[issue6778] False positives given through bisect module (binary search)

R. David Murray report at bugs.python.org
Tue Aug 25 00:43:31 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

It's not a match, it's an insertion point.  The bisect module doesn't
have a method that can be used directly to determine if an item is not
in the list.  Take a careful look at the example, especially the second
part.

If you think it should have such a method, that would be an enhancement
request.

----------
nosy: +r.david.murray, rhettinger
priority:  -> normal
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6778>
_______________________________________


More information about the Python-bugs-list mailing list