Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #1749 > unrolled thread
| Started by | Grant Jenks <grant.jenks@gmail.com> |
|---|---|
| First post | 2015-06-22 13:31 -0700 |
| Last post | 2015-06-22 13:31 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
ANN: SortedContainers 0.9.6 released Grant Jenks <grant.jenks@gmail.com> - 2015-06-22 13:31 -0700
| From | Grant Jenks <grant.jenks@gmail.com> |
|---|---|
| Date | 2015-06-22 13:31 -0700 |
| Subject | ANN: SortedContainers 0.9.6 released |
| Message-ID | <mailman.718.1435044886.13271.python-announce-list@python.org> |
Announcing the release of SortedContainers version 0.9.6 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.6? -------------------- - Added `islice` method to all data types. This method is similar to `__getitem__` index slicing but returns an iterator, similar to itertools.islice but without the `step` parameter. `islice` also has a default argument `reverse=False` which will yield items from the slice in reverse order when True. - Added `irange` and `irange_key` methods to all data types. Like `islice` this method returns an iterator but slices the data type from a given minimum to maximum value. By default both the minimum and maximum are included in the range and a parameter `inclusive=(True, True)` allows this to be changed. A default argument `reverse=False` will yield items in reverse order when True. The `irange_key` variant permits constructing ranges directly from the indexed key, similar to `bisect_key` and related methods. - Minor fix to index checking. - 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.
Back to top | Article view | comp.lang.python.announce
csiph-web