Sortedcontainers

Latest version: v2.4.0

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.9.1

------------------

**Bugfixes**

* Changed ``SortedList.__setitem__`` with slices to correctly update internal
"maxes" index.

0.9.0

------------------

**API Changes**

* Added ``__ior__``, ``__iand__``, ``__isub__``, and ``__ixor__`` methods to
``SortedSet`` interface.

**Improvements**

* Changed position-based indexing to use dense tree-based index.

**Miscellaneous**

* Added workload-based performance comparison for sorted list: Priority Queue,
Multiset, etc.

0.8.5

------------------

**Bugfixes**

* Changed copy methods to make shallow copies: values are not copied, only
references to values are copied.

**Miscellaneous**

* Added load-factor performance comparison documentation.

0.8.4

------------------

**API Changes**

* Added ``value_orderable`` parameter to ``SortedListWithKey`` to support
incomparable value types.

**Bugfixes**

* Changed ``repr`` methods to prevent infinite recursion and allow easier
subclassing.

0.8.3

------------------

**Miscellaneous**

* Added more testing for sorted lists with key-callable argument.

0.8.2

------------------

**API Changes**

* Added ``SortedListWithKey`` type with implementation based on
``(key, value)`` tuples.

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.