[Python-ideas] Sorted lists

David Mertz mertz at gnosis.cx
Mon Apr 8 07:51:41 EDT 2019


On Mon, Apr 8, 2019, 5:46 AM Paul Moore <p.f.moore at gmail.com> wrote:

> Still not convinced this is safe enough to be worth it ;-)
>

I'm convinced it's NOT safe enough to be worth it.

On the other hand, a sortedlist subclass that maintained its invariant
(probably remembering a key) sounds cool. I think there are one or more
good ones on PyPI.

Statistics should simply learn to recognize external always-sorted data
structures.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190408/2b212a8d/attachment.html>


More information about the Python-ideas mailing list