More-itertools

Latest version: v10.2.0

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

Scan your dependencies

Page 4 of 8

8.1.0

-----

* Bug fixes
* :func:`partition` works with ``pred=None`` again. (thanks to MSeifert04)

* New itertools
* :func:`sample` (thanks to tommyod)
* :func:`nth_or_last` (thanks to d-ryzhikov)

* Changes to existing itertools:
* The implementation for :func:`divide` was improved. (thanks to jferard)

8.0.2

-----

* Bug fixes
* The type stub files are now part of the wheel distribution (thanks to keisheiled)

8.0.1

-----

* Bug fixes
* The type stub files now work for functions imported from the
root package (thanks to keisheiled)

8.0.0

-----

* New itertools and other additions
* This library now ships type hints for use with mypy.
(thanks to ilai-deutel for the implementation, and to gabbard and fmagin for assistance)
* :func:`split_when` (thanks to jferard)
* :func:`repeat_last` (thanks to d-ryzhikov)

* Changes to existing itertools:
* The implementation for :func:`set_partitions` was improved. (thanks to jferard)
* :func:`partition` was optimized for expensive predicates. (thanks to stevecj)
* :func:`unique_everseen` and :func:`groupby_transform` were re-factored. (thanks to SergBobrovsky)
* The implementation for :func:`difference` was improved. (thanks to Jabbey92)

* Other changes
* Python 3.4 has reached its end of life and is no longer supported.
* Python 3.8 is officially supported. (thanks to jdufresne)
* The ``collate`` function has been deprecated.
It raises a ``DeprecationWarning`` if used, and will be removed in a future release.
* :func:`one` and :func:`only` now provide more informative error messages. (thanks to gabbard)
* Unit tests were moved outside of the main package (thanks to jdufresne)
* Various documentation fixes (thanks to kriomant, gabbard, jdufresne)

7.2.0

-----

* New itertools
* :func:`distinct_combinations`
* :func:`set_partitions` (thanks to kbarrett)
* :func:`filter_except`
* :func:`map_except`

7.1.0

-----

* New itertools
* :func:`ichunked` (thanks davebelais and youtux)
* :func:`only` (thanks jaraco)

* Changes to existing itertools:
* :func:`numeric_range` now supports ranges specified by
``datetime.datetime`` and ``datetime.timedelta`` objects (thanks to MSeifert04 for tests).
* :func:`difference` now supports an *initial* keyword argument.


* Other changes
* Various documentation fixes (thanks raimon49, pylang)

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.