ANN: SortedContainers 0.9.5 released

Grant Jenks grant.jenks at gmail.com
Mon Mar 16 19:10:36 CET 2015


Announcing the release of SortedContainers version 0.9.5

What is SortedContainers?
-------------------------

SortedContainers is an Apache2-licensed, pure-Python implementation of
sorted list, sorted dict, and sorted set data types that is fast-as-C
implementations with 100% code coverage and hours of stress testing.
The project is fully documented with performance benchmarks and
comparisons to alternative implementations.

What's new in 0.9.5?
--------------------

- Added bisect_key, bisect_key_left, and bisect_key_right methods to
  SortedListWithKey, SortedDict, and SortedSet data types. If you're
  using a key function, you can now directly bisect the key value.
- Added last=True keyword argument to SortedDict.popitem (mirrors the
  OrderedDict.popitem api).
- Minor performance improvements to indexing.
- Minor documentation improvements.

Links
-----

- Documentation: http://www.grantjenks.com/docs/sortedcontainers/
- Download: https://pypi.python.org/pypi/sortedcontainers
- Source: https://github.com/grantjenks/sorted_containers
- Issues: https://github.com/grantjenks/sorted_containers/issues

This release is backwards-compatible. Please upgrade.

Grant Jenks


More information about the Python-announce-list mailing list