Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
It was fixed in issue32500. This is a new feature and it was not backported. >>> bisect.bisect_right(dict.fromkeys(range(10)), 5) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: dict is not a sequence >>> bisect.bisect_right(dict.fromkeys(range(10)), 5, 0, 10) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: dict is not a sequence ---------- nosy: +rhettinger, serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34842> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com