Jaraco.collections

Latest version: v5.0.1

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

Scan your dependencies

Page 2 of 6

3.11.0

=======

In ``DictFilter``, deprecated ``include_keys`` parameter and usage
without ``include_pattern``. Future versions will honor
``include_pattern`` as a required keyword argument. All other
uses are deprecated. For uses that currently rely on ``include_keys``,
use ``Projection`` instead/in addition. For example, instead of::

filtered = DictFilter(orig, include_keys=['a'], include_pattern='b+')

Use::

filtered = DictFilter(Projection(['a'], orig), include_pattern='b+')

3.10.0

=======

In ``Projection``, harmonize the implementation and optimize using
``set`` instead of ``tuple``.

3.9.0

======

``DictFilter.__len__`` no longer relies on the iterable. Improves
efficiency and fixes ``RecursionError`` on PyPy (12).

3.8.0

======

Made ``DictStack`` mutable.

3.7.0

======

Added ``RangeMap.left``.

3.6.0

======

Revised ``DictFilter``:

- Fixed issue where ``DictFilter.__contains__`` would raise a ``KeyError``.
- Relies heavily now on ``collections.abc.Mapping`` base class.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.