File python-more-itertools.changes of Package python-more-itertools
181
1
-------------------------------------------------------------------
2
Thu May 31 04:34:12 UTC 2018 - toddrme2178@gmail.com
3
4
- Update to version 4.2.0
5
+ New itertools:
6
* map_reduce (thanks to pylang)
7
* prepend (from the `Python 3.7 docs <https://docs.python.org/3.7/library/itertools.html#itertools-recipes>`_)
8
+ Improvements to existing itertools:
9
* :func:`bucket` now complies with PEP 479 (thanks to irmen)
10
+ Other changes:
11
* Python 3.7 is now supported (thanks to irmen)
12
* Python 3.3 is no longer supported
13
* The test suite no longer requires third-party modules to run
14
* The API docs now include links to source code
15
16
-------------------------------------------------------------------
17
Thu Mar 29 13:32:39 UTC 2018 - mimi.vx@gmail.com
18
19
- spec-cleaned
20
- use of %license macro
21
- removed unneded dependency
22
23
-------------------------------------------------------------------
24
Sat Mar 24 19:55:52 UTC 2018 - arun@gmx.de
25
26
- specfile:
27
* update copyright year
28
29
- update to version 4.1.0:
30
* New itertools:
31
+ split_at (thanks to michael-celani)
32
+ circular_shifts (thanks to hiqua)
33
+ make_decorator - see the blog post Yo, I heard you like
34
decorators for a tour (thanks to pylang)
35
+ always_reversible (thanks to michael-celani)
36
+ nth_combination (from the Python 3.7 docs)
37
* Improvements to existing itertools:
38
+ seekable now has an elements method to return cached items.
39
+ The performance tradeoffs between roundrobin and
40
interleave_longest are now documented (thanks michael-celani,
41
pylang, and MSeifert04)
42
43
- changes from version 4.0.1:
44
* No code changes - this release fixes how the docs display on PyPI.
45
46
- changes from version 4.0.0:
47
* New itertools:
48
+ consecutive_groups (Based on the example in the Python 2.4 docs)
49
+ seekable (If you’re looking for how to “reset” an iterator,
50
you’re in luck!)
51
+ exactly_n (thanks to michael-celani)
52
+ run_length.encode and run_length.decode
53
+ difference
54
* Improvements to existing itertools:
55
+ The number of items between filler elements in intersperse can
56
now be specified (thanks to pylang)
57
+ distinct_permutations and peekable got some minor adjustments
58
(thanks to MSeifert04)
59
+ always_iterable now returns an iterator object. It also now
60
allows different types to be considered iterable (thanks to
61
jaraco)
62
+ bucket can now limit the keys it stores in memory one now allows
63
for custom exceptions (thanks to kalekundert)
64
* Other changes:
65
+ A few typos were fixed (thanks to EdwardBetts)
66
+ All tests can now be run with python setup.py test
67
68
-------------------------------------------------------------------
69
Tue Jul 4 17:15:27 UTC 2017 - aloisio@gmx.com
70
71
- Update to version 3.2.0
72
* New itertools:
73
+ :func:`lstrip`, :func:`rstrip`, and :func:`strip`
74
(thanks to MSeifert04 and pylang)
75
+ :func:`islice_extended`
76
* Improvements to existing itertools:
77
+ Some bugs with slicing :func:`peekable`-wrapped iterables
78
were fixed
79
3.1.0:
80
* New itertools:
81
+ :func:`numeric_range` (Thanks to BebeSparkelSparkel and
82
MSeifert04)
83
+ :func:`count_cycle` (Thanks to BebeSparkelSparkel)
84
+ :func:`locate` (Thanks to pylang and MSeifert04)
85
* Improvements to existing itertools:
86
+ A few itertools are now slightly faster due to some
87
function optimizations. (Thanks to MSeifert04)
88
* The docs have been substantially revised with installation
89
notes, categories for library functions, links, and more.
90
(Thanks to pylang)
91
3.0.0:
92
* Removed itertools:
93
+ ``context`` has been removed due to a design flaw - see
94
below for replacement options. (thanks to NeilGirdhar)
95
* Improvements to existing itertools:
96
+ ``side_effect`` now supports ``before`` and ``after``
97
keyword arguments. (Thanks to yardsale8)
98
* PyPy and PyPy3 are now supported.
99
The major version change is due to the removal of the
100
``context`` function.
101
102
Replace it with standard ``with`` statement context management:
103
.. code-block:: python
104
105
# Don't use context() anymore
106
file_obj = StringIO()
107
consume(print(x, file=f) for f in context(file_obj) for x in
108
u'123')
109
110
# Use a with statement instead
111
file_obj = StringIO()
112
with file_obj as f:
113
consume(print(x, file=f) for x in u'123')
114
2.6.0:
115
* New itertools:
116
+ ``adjacent`` and ``groupby_transform`` (Thanks to diazona)
117
+ ``always_iterable`` (Thanks to jaraco)
118
+ (Removed in 3.0.0) ``context`` (Thanks to yardsale8)
119
+ ``divide`` (Thanks to mozbhearsum)
120
* Improvements to existing itertools:
121
+ ``ilen`` is now slightly faster. (Thanks to wbolster)
122
+ ``peekable`` can now prepend items to an iterable. (Thanks
123
to diazona)
124
2.5.0:
125
* New itertools:
126
+ ``distribute`` (Thanks to mozbhearsum and coady)
127
+ ``sort_together`` (Thanks to clintval)
128
+ ``stagger`` and ``zip_offset`` (Thanks to joshbode)
129
+ ``padded``
130
* Improvements to existing itertools:
131
+ ``peekable`` now handles negative indexes and slices with
132
negative components properly.
133
+ ``intersperse`` is now slightly faster. (Thanks to pylang)
134
+ ``windowed`` now accepts a ``step`` keyword argument.
135
(Thanks to pylang)
136
* Python 3.6 is now supported.
137
2.4.1:
138
* Move docs 100% to readthedocs.io.
139
2.4:
140
* New itertools:
141
+ ``accumulate``, ``all_equal``, ``first_true``,
142
``partition``, and
143
``tail`` from the itertools documentation.
144
+ ``bucket`` (Thanks to Rosuav and cvrebert)
145
+ ``collapse`` (Thanks to abarnet)
146
+ ``interleave`` and ``interleave_longest`` (Thanks to
147
abarnet)
148
+ ``side_effect`` (Thanks to nvie)
149
+ ``sliced`` (Thanks to j4mie and coady)
150
+ ``split_before`` and ``split_after`` (Thanks to
151
astronouth7303)
152
+ ``spy`` (Thanks to themiurgo and mathieulongtin)
153
* Improvements to existing itertools:
154
+ ``chunked`` is now simpler and more friendly to garbage
155
collection.
156
(Contributed by coady, with thanks to piskvorky)
157
+ ``collate`` now delegates to ``heapq.merge`` when possible.
158
(Thanks to kmike and julianpistorius)
159
+ ``peekable``-wrapped iterables are now indexable and
160
sliceable. Iterating through ``peekable``-wrapped iterables
161
is also faster.
162
+ ``one`` and ``unique_to_each`` have been simplified.
163
(Thanks to coady)
164
2.3:
165
* Added ``one`` from ``jaraco.util.itertools``. (Thanks, jaraco!)
166
* Added ``distinct_permutations`` and ``unique_to_each``.
167
(Contributed by bbayles)
168
* Added ``windowed``. (Contributed by bbayles, with thanks to
169
buchanae, jaraco, and abarnert)
170
* Simplified the implementation of ``chunked``. (Thanks, nvie!)
171
* Python 3.5 is now supported. Python 2.6 is no longer supported.
172
* Python 3 is now supported directly; there is no 2to3 step.
173
174
- Converted to single-spec
175
176
-------------------------------------------------------------------
177
Fri May 30 14:11:03 UTC 2014 - toddrme2178@gmail.com
178
179
- initial version
180
181