[issue26653] bisect raises a TypeError when hi is None

Raymond Hettinger report at bugs.python.org
Mon Mar 28 02:14:46 EDT 2016


Raymond Hettinger added the comment:

The pure python code used None as a placeholder for an optional argument.  It is not an intended input value.  The documented signature
is:  bisect.bisect_left(a, x, lo=0, hi=len(a)).

----------
priority: normal -> low

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


More information about the Python-bugs-list mailing list