This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients mark.dickinson, rhettinger, tebeka
Date 2008-11-20.00:05:08
SpamBayes Score 7.96825e-06
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2008-11-20 00:05:10rhettingersetrecipients: + rhettinger, tebeka, mark.dickinson
2008-11-20 00:05:10rhettingersetmessageid: <>
2008-11-20 00:05:09rhettingerlinkissue4356 messages
2008-11-20 00:05:08rhettingercreate