- Remove use of
OrderedDict
inpartition_dict
. (#17)
- Added
summarize
. - Require Python 3.8 or later.
Added find_subseq
.
#15: Fixed broken test in ensure_unique
.
Added accumulate
function.
Fixed typo in ensure_unique
doctest.
Add ensure_unique
function.
#13: Fixed doc build errors.
Minor fixes.
Switch to PEP 420 for namespace package.
Remove Counter.GetCount
.
Remove flatten
and iflatten
.
infinite_call
is superseded by more_itertools.repeatfunc
.
Require Python 3.6 or later.
Fixed RuntimeError in takewhile_peek on later Pythons where StopIteration is no longer allowed in a generator.
Fixed issue in collate_revs
when objects being merged were
non-True.
Add collate_revs
and partition_dict
.
Nicer error message in assert_ordered
when the assertion
fails. Now reports the full supplied items and not just the keys
in the errors. When <
or >
are used, the error message
renders more directly.
The duplicates
function now takes an arbitrary number of iterables.
Added assert_ordered
function.
Added duplicates
function.
Switch to pkgutil namespace technique
for the jaraco
namespace.
- Refreshed project metadata, now built using declarative config. Installation from sdist now requries setuptools 34.4.
- Fix deprecation warning in
always_iterable
. - Leverage base_type parameter in
more_itertools.always_iterable
.
- Set stacklevel in deprecated functions for better visibility of the call.
- Added new
maybe_single
function. - Deprecated
list_or_iterable
in favor ofmaybe_single
.
- Deprecated
flatten
andiflatten
in favor ofmore_itertools.collapse
. Deprecatediterable_test
, only used by deprecated functions. - Bump dependency on more_itertools 4.0.0.
- Added
self_product
.
first
now accepts a default value, same asnext
.
- #3: Fix failures on Python 3.7 due to the introduction of PEP 479.
- Use
more_itertools.more.always_iterable
in place ofalways_iterable
except when a mapping is included.
- Refresh package.
- In
always_iterable
, mappings are now considered singletons. It seems that the wayalways_iterable
is generally used, one wouldn't expect to only iterate on a mapping, but there are cases where a dictionary should behave like a singleton object.
- Deprecated
infiniteCall
and replaced it withinfinite_call
which only takes a single argument (the function to call).
- Fix failing tests on Python 2.
- Moved hosting to github.
- Releases now include wheels.
- Add
takewhile_peek
function.
- Add
list_or_single
function.
- Add
apply
to apply a function to an iterable, but yield the original items.
- Update
Count
object to support comparison for equality and accept None to mean explicitly Infinity. See the docs for details. - Fixed Python 3 issues on
Counter
object. Added docstrings. - Added
Counter.count
attribute. Counter.GetCount
is now deprecated. Use.count
instead.
Initial release based on jaraco.util 10.7.