forked from pool/python-jaraco.collections
49d16d352806f65d43c605f99fe35812ef79cab039eeb944775ae368595439a1
- update to 4.1.0:
* ``Projection`` now accepts an iterable or callable or pattern
for matching keys. ``Projection`` now retains order of keys
from the underlying mapping.
* ``DictFilter`` is now deprecated in favor of ``Projection``.
* ``DictFilter`` no longer accepts ``include_keys`` and
requires ``include_pattern`` as a keyword argument.
* 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.
* ``DictFilter.__len__`` no longer relies on the iterable.
Improves efficiency and fixes ``RecursionError`` on PyPy (#12).
OBS-URL: https://build.opensuse.org/request/show/1087121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.collections?expand=0&rev=11
Description
No description provided
Languages
RPM Spec
100%