New submission from Mike Lenzen: >>> bisect.bisect([1, 2, 3], 1, hi=None) TypeError: 'NoneType' object cannot be interpreted as an integer
I'm assuming this is an error in the C implementation because the Python source has: if hi is None: hi = len(a) ---------- components: Library (Lib) messages: 262551 nosy: Mike Lenzen, rhettinger priority: normal severity: normal status: open title: bisect raises a TypeError when hi is None type: behavior versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26653> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com