Марк Коренберг added the comment:
Please see answres at
No one say that adding sorted containers is bad idea. Some people say that
specific use-cases require specific solutions, but they also said that it is
good to add solution, that is not-so-bad for a gneric case.
The most appropriate solution (as I think) is pure-python sorted containers
that are proven to be bug-free and has perfromance comparison against many
other libraries. http://www.grantjenks.com/docs/sortedcontainers. This will
make support of PyPy/IronPython/e.t.c automagically.
Why not to add it to CPython distribution (like asyncio) ?
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list