summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Bayles <bbayles@gmail.com>2022-05-06 09:01:47 -0500
committerGitHub <noreply@github.com>2022-05-06 09:01:47 -0500
commit484401f5a056243be2508e2a6af598f7e4e99782 (patch)
tree0666900b79c79a44cf61aeb6ca39d6a9c6caf014
parentbab5862e4e4f5f047cfef7c579ba2eeaffe6c23d (diff)
parent92e0163dfc6dc80b98e5fa29b79beb1dbf2f660a (diff)
downloadmore-itertools-upstream-master.tar.gz
Merge pull request #608 from more-itertools/version-8.13.0upstream-master
Version 8.13.0
-rw-r--r--README.rst1
-rw-r--r--docs/api.rst1
-rw-r--r--docs/versions.rst15
-rw-r--r--more_itertools/__init__.py2
-rw-r--r--setup.cfg2
5 files changed, 19 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 6ba3452..ed48e0b 100644
--- a/README.rst
+++ b/README.rst
@@ -38,6 +38,7 @@ Python iterables.
| | `pairwise <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.pairwise>`_, |
| | `triplewise <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.triplewise>`_, |
| | `sliding_window <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sliding_window>`_ |
+| | `subslices <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.subslices>`_, |
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Augmenting | `count_cycle <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.count_cycle>`_, |
| | `intersperse <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.intersperse>`_, |
diff --git a/docs/api.rst b/docs/api.rst
index 84890e1..fb5a328 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -72,6 +72,7 @@ These tools yield windows of items from an iterable.
.. autofunction:: pairwise
.. autofunction:: triplewise
.. autofunction:: sliding_window
+.. autofunction:: subslices
Augmenting
diff --git a/docs/versions.rst b/docs/versions.rst
index c9ec018..58654a7 100644
--- a/docs/versions.rst
+++ b/docs/versions.rst
@@ -5,6 +5,21 @@ Version History
.. automodule:: more_itertools
:noindex:
+8.13.0
+------
+
+* New functions
+ * The :func:`subslices` recipe from the `itertools` docs was added (thanks to rhettinger)
+
+* Changes to existing functions
+ * The :func:`ichunked` function is now more efficient (thanks to hjtran0 and seanmacavaney)
+ * The :func:`difference` function is now more efficient (thanks to Masynchin)
+ * The :func:`grouper` recipe now has more features, mirroring the one in the `itertools` docs (thanks to rhettinger)
+
+* Other changes
+ * Some documentation issues were fixed (thanks to medvied and Freed-Wu)
+ * The `more_itertools` package is now built with `flit` (thanks to mgorny)
+
8.12.0
------
diff --git a/more_itertools/__init__.py b/more_itertools/__init__.py
index c730f3b..7c3091a 100644
--- a/more_itertools/__init__.py
+++ b/more_itertools/__init__.py
@@ -3,4 +3,4 @@
from .more import * # noqa
from .recipes import * # noqa
-__version__ = '8.12.0'
+__version__ = '8.13.0'
diff --git a/setup.cfg b/setup.cfg
index 26f9d97..d52e6e3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 8.12.0
+current_version = 8.13.0
commit = True
tag = False
files = more_itertools/__init__.py