[Python-Dev] Adding key and reverse args to bisect

Aahz aahz at pythoncraft.com
Fri Jun 12 01:01:54 CEST 2009


On Thu, Jun 11, 2009, David A. Barrett wrote:
>
> I propose adding the key parameter to the bisect.bisect routines.
> This would allow it to be used on lists with an ordering other than
> the one "natural" to the contained objects.

Raymond addressed your actual question, but please post suggestions like
this to python-ideas, that's the best place for them.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra


More information about the Python-Dev mailing list