Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Miki, the issue is that bisect calls tend to be made repeatedly, so the key function can be called over and over again for the same argument. It is almost always a better design to simply decorate the list so the key function never gets called more than once per element in the list. If we added key= to bisect, it would encourage bad design and steer people after from better solutions.
---------- nosy: +rhettinger _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com