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 <1227139510.59.0.891601230701.issue4356@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-11-20 00:05:10rhettingersetrecipients: + rhettinger, tebeka, mark.dickinson
2008-11-20 00:05:10rhettingersetmessageid: <1227139510.59.0.891601230701.issue4356@psf.upfronthosting.co.za>
2008-11-20 00:05:09rhettingerlinkissue4356 messages
2008-11-20 00:05:08rhettingercreate