On Mon, Apr 8, 2019, 5:46 AM Paul Moore <[email protected]> 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.
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
