2020-01-14 23:42:19 by Thomas Klausner | Files touched by this commit (2) | |
Log message:
py-more-itertools: update to 8.1.0.
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)
|
2019-12-15 12:55:24 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-more-itertools: updated to 8.0.2
8.0.2:
Bug fixes
* The type stub files are now part of the wheel distribution
8.0.1:
Bug fixes
* The type stub files now work for functions imported from the root package
8.0.0:
New itertools and other additions
* This library now ships type hints for use with mypy.
* :func:`split_when`
* :func:`repeat_last`
Changes to existing itertools:
* The implementation for :func:`set_partitions` was improved.
* :func:`partition` was optimized for expensive predicates.
* :func:`unique_everseen` and :func:`groupby_transform` were re-factored.
* The implementation for :func:`difference` was improved.
Other changes
* Python 3.4 has reached its end of life and is no longer supported.
* Python 3.8 is officially supported.
* 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.
* Unit tests were moved outside of the main package
* Various documentation fixes
|
2019-11-15 15:22:30 by Thomas Klausner | Files touched by this commit (4) | |
Log message:
py-more-itertools: update to 7.2.0.
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)
7.0.0
-----
* New itertools:
* :func:`time_limited`
* :func:`partitions` (thanks to rominf and Saluev)
* :func:`substrings_indexes` (thanks to rominf)
* Changes to existing itertools:
* :func:`collapse` now treats ``bytes`` objects the same as ``str`` objects. \
(thanks to Sweenpet)
The major version update is due to the change in the default behavior of
:func:`collapse`. It now treats ``bytes`` objects the same as ``str`` objects.
This aligns its behavior with :func:`always_iterable`.
.. code-block:: python
>>> from more_itertools import collapse
>>> iterable = [[1, 2], b'345', [6]]
>>> print(list(collapse(iterable)))
[1, 2, b'345', 6]
6.0.0
-----
* Major changes:
* Python 2.7 is no longer supported. The 5.0.0 release will be the last
version targeting Python 2.7.
* All future releases will target the active versions of Python 3.
As of 2019, those are Python 3.4 and above.
* The ``six`` library is no longer a dependency.
* The :func:`accumulate` function is no longer part of this library. You
may import a better version from the standard ``itertools`` module.
* Changes to existing itertools:
* The order of the parameters in :func:`grouper` have changed to match
the latest recipe in the itertools documentation. Use of the old order
will be supported in this release, but emit a ``DeprecationWarning``.
The legacy behavior will be dropped in a future release. (thanks to jaraco)
* :func:`distinct_permutations` was improved (thanks to jferard - see also \
`permutations with unique values \
<https://stackoverflow.com/questions/6284396/permutations-with-unique-values>`_ \
at StackOverflow.)
* An unused parameter was removed from :func:`substrings`. (thanks to pylang)
* Other changes:
* The docs for :func:`unique_everseen` were improved. (thanks to jferard and \
MSeifert04)
* Several Python 2-isms were removed. (thanks to jaraco, MSeifert04, and hugovk)
|
2019-01-22 10:45:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-more-itertools: updated 5.0.0
5.0.0
* New itertools:
* :func:split_into
* :func:unzip
* :func:substrings
* Changes to existing itertools:
* :func:ilen was optimized a bit
* :func:first_true now returns None by default. This is the reason for the \
major version bump - see below.
* Other changes:
* Some code for old Python versions was removed
* Some documentation mistakes were corrected
* Tests now run properly on 32-bit versions of Python
* Newer versions of CPython and PyPy are now tested against
|
2018-08-19 10:16:05 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-more-itertools: updated to 4.3.0
4.3.0:
New itertools:
- last()
- replace()
- rlocate()
Improvements to existing itertools:
- locate() can now search for multiple items
Other changes:
- The docs now include a nice table of tools
|
2018-05-24 09:14:37 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-more-itertools: updated to 4.2.0
4.2.0:
* New itertools:
* :func:map_reduce
* :func:prepend
* Improvements to existing itertools:
* :func:bucket now complies with PEP 479
* Other changes:
* Python 3.7 is now supported
* Python 3.3 is no longer supported
* The test suite no longer requires third-party modules to run
* The API docs now include links to source code
|
2018-01-28 09:44:04 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-more-itertools: updated to 4.1.0
4.1.0
New itertools:
- split_at
- circular_shifts
- make_decorator - see the blog post Yo, I heard you like decorators for a tour
- always_reversible
- nth_combination (from the Python 3.7 docs)
Improvements to existing itertools:
- seekable now has an elements method to return cached items.
- The performance tradeoffs between roundrobin and interleave_longest are now \
documented
|
2018-01-18 13:38:16 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-more-itertools: updated to 4.0.1
4.0.1
No code changes - this release fixes how the docs display on PyPI.
4.0.0
New itertools:
* consecutive_groups (Based on the example in the Python 2.4 docs)
* seekable (If you're looking for how to "reset" an iterator, you're \
in luck!)
* exactly_n
* run_length.encode and :func:run_length.decode
* difference
Improvements to existing itertools:
The number of items between filler elements in * intersperse can now be specified
* distinct_permutations and :func:peekable got some minor adjustments
* always_iterable now returns an iterator object. It also now allows different \
types to be considered iterable
* bucket can now limit the keys it stores in memory
* one now allows for custom exceptions
Other changes:
A few typos were fixed
All tests can now be run with python setup.py test
|
2017-10-13 09:58:57 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-more-itertools: update to 3.2.0
3.2.0
* New itertools:
* :func:`lstrip`, :func:`rstrip`, and :func:`strip`
* :func:`islice_extended`
* Improvements to existing itertools:
* Some bugs with slicing :func:`peekable`-wrapped iterables were fixed
|
2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356) |
Log message:
Switch to MASTER_SITES_PYPI.
|