[Python-ideas] Optional key to `bisect`'s functions?

Guido van Rossum guido at python.org
Thu Feb 9 23:02:00 CET 2012

On Thu, Feb 9, 2012 at 1:51 PM, Terry Reedy <tjreedy at udel.edu> wrote:

> Using insort on a list of a millions items is definitely not a good idea,
> but I can see how someone not so aware of scaling issues might be tempted,
> especially with no stdlib alternative. One could almost be tempted to issue
> a warning if 'hi' is 'too large'.

Put it in the docs.

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120209/4672d575/attachment.html>

More information about the Python-ideas mailing list