Mark Dickinson
|
a96b0d119d
|
Backport issue #12973 itertools fix from 3.x.
|
2011-09-24 09:01:16 +01:00 |
Raymond Hettinger
|
061bf7a11a
|
Issue #10323: Predictable final state for slice().
|
2010-11-30 03:15:35 +00:00 |
Ezio Melotti
|
fdc1e0d013
|
Remove extra ] from itertools.count docstring.
|
2010-06-11 02:21:25 +00:00 |
Antoine Pitrou
|
c83ea137d7
|
Untabify C files. Will watch buildbots.
|
2010-05-09 14:46:46 +00:00 |
Raymond Hettinger
|
9b4197ba53
|
Handle step values other than one.
|
2009-11-30 21:13:52 +00:00 |
Raymond Hettinger
|
e09f45a2e3
|
Issue 7410: deepcopy of itertools.count resets the count
|
2009-11-30 19:44:40 +00:00 |
Raymond Hettinger
|
9eac119ba8
|
Fix docstrings for itertools combinatoric functions.
|
2009-11-19 01:22:04 +00:00 |
Raymond Hettinger
|
fa7dadd339
|
Fix exception handling in itertools.izip_longest().
|
2009-11-01 20:45:16 +00:00 |
Raymond Hettinger
|
0115e098da
|
Issue 6305: Clarify error message for large arguments to itertools.islice().
|
2009-06-23 21:32:28 +00:00 |
Benjamin Peterson
|
873389dbd8
|
fix compiler warnings
|
2009-02-21 23:09:33 +00:00 |
Raymond Hettinger
|
aa681c7b99
|
Fix keyword arguments for itertools.count().
Step arg without a start arg was ignored.
|
2009-02-21 07:17:22 +00:00 |
Raymond Hettinger
|
182edaefb5
|
Add keyword arg support to itertools.repeat().
|
2009-02-19 02:38:25 +00:00 |
Raymond Hettinger
|
2e2909f584
|
Add keyword arg support to itertools.compress().
|
2009-02-19 02:15:14 +00:00 |
Benjamin Peterson
|
a7b0c12152
|
PyList_Append() can fail
|
2009-02-16 21:23:04 +00:00 |
Benjamin Peterson
|
062a7c3675
|
fix compiler warnings
|
2009-02-16 21:07:52 +00:00 |
Raymond Hettinger
|
b21d8109af
|
Add GC support to count() objects. Backport candidate.
|
2009-02-16 20:39:12 +00:00 |
Raymond Hettinger
|
a4038038c6
|
Add keyword argument support to itertools.count().
|
2009-02-14 00:25:51 +00:00 |
Raymond Hettinger
|
66373ab888
|
Fix spaces/tabs in example.
|
2009-02-12 10:16:19 +00:00 |
Raymond Hettinger
|
31c769ca89
|
Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments.
|
2009-02-12 05:39:46 +00:00 |
Raymond Hettinger
|
94034ea584
|
Issue 5171: itertools.product docstring missing 'repeat' argument
|
2009-02-09 18:39:41 +00:00 |
Raymond Hettinger
|
e76816b146
|
Fix typo.
|
2009-01-29 03:43:44 +00:00 |
Raymond Hettinger
|
36d816b0ab
|
Update itertools.__doc__ to include all tools.
|
2009-01-29 03:21:42 +00:00 |
Raymond Hettinger
|
d081abc8be
|
Promote combinations_with_replacement() from a recipe to a regular itertool.
|
2009-01-27 02:58:49 +00:00 |
Raymond Hettinger
|
2bcb8e9b0d
|
Promote compress() from a recipe to being a regular itertool.
|
2009-01-25 21:04:14 +00:00 |
Amaury Forgeot d'Arc
|
a40d573664
|
#3720: Interpreter crashes when an evil iterator removes its own next function.
Now the slot is filled with a function that always raises.
Will not backport: extensions compiled with 2.6.x would not run on 2.6.0.
|
2009-01-12 23:36:55 +00:00 |
Raymond Hettinger
|
5b913e31a1
|
Forward port r68394 for issue 4816.
|
2009-01-08 06:39:04 +00:00 |
Georg Brandl
|
8550d69a84
|
#2536: fix itertools.permutations and itertools.combinations docstrings.
|
2008-06-10 12:46:39 +00:00 |
Gregory P. Smith
|
dd96db63f6
|
This reverts r63675 based on the discussion in this thread:
http://mail.python.org/pipermail/python-dev/2008-June/079988.html
Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
|
2008-06-09 04:58:54 +00:00 |
Christian Heimes
|
593daf545b
|
Renamed PyString to PyBytes
|
2008-05-26 12:51:38 +00:00 |
Raymond Hettinger
|
0ccfe5f2a0
|
Remove itertools warnings I had added before the 2-to-3 handled the migration.
|
2008-03-19 18:01:58 +00:00 |
Raymond Hettinger
|
10dca6e282
|
The filter() function does support a None argument in Py3.0.
|
2008-03-19 17:58:59 +00:00 |
David Wolever
|
2724ab99c8
|
Added zip, map, filter to future_bultins (#2171)
|
2008-03-19 02:35:45 +00:00 |
Raymond Hettinger
|
431f029486
|
Consistent tense.
|
2008-03-13 16:43:59 +00:00 |
Raymond Hettinger
|
10f40a6b5a
|
Add 2-to-3 support for the itertools moved to builtins or renamed.
|
2008-03-13 16:43:17 +00:00 |
Raymond Hettinger
|
a1ca94a102
|
Issue 2246: itertools grouper object did not participate in GC (should be backported).
|
2008-03-06 22:51:36 +00:00 |
Raymond Hettinger
|
6e3e415886
|
Small code cleanup.
|
2008-03-05 21:04:32 +00:00 |
Raymond Hettinger
|
66f91ea966
|
C implementation of itertools.permutations().
|
2008-03-05 20:59:58 +00:00 |
Raymond Hettinger
|
f1cca2b593
|
Fix refleak in chain().
|
2008-03-04 22:29:44 +00:00 |
Raymond Hettinger
|
d553d856e7
|
Beef-up docs and tests for itertools. Fix-up end-case for product().
|
2008-03-04 04:17:08 +00:00 |
Raymond Hettinger
|
e3fabd10cb
|
Handle 0-tuples which can be singletons.
|
2008-03-02 12:02:19 +00:00 |
Raymond Hettinger
|
61024b9181
|
Simplify code for itertools.product().
|
2008-03-02 11:57:16 +00:00 |
Raymond Hettinger
|
08ff6822cc
|
Handle the repeat keyword argument for itertools.product().
|
2008-02-29 02:21:48 +00:00 |
Raymond Hettinger
|
b4cbc98c39
|
Add alternate constructor for itertools.chain().
|
2008-02-28 22:46:41 +00:00 |
Raymond Hettinger
|
05bf6338b8
|
Have itertools.chain() consume its inputs lazily instead of building a tuple of iterators at the outset.
|
2008-02-28 22:30:42 +00:00 |
Christian Heimes
|
cdddf18768
|
The empty tuple is usually a singleton with a much higher refcnt than 1
|
2008-02-28 11:18:49 +00:00 |
Raymond Hettinger
|
3bd771263d
|
One too many decrefs.
|
2008-02-27 01:08:04 +00:00 |
Raymond Hettinger
|
93e804da9c
|
Add itertools.combinations().
|
2008-02-26 23:40:50 +00:00 |
Facundo Batista
|
b1d70e2252
|
Coerced PyBool_Type to be able to compare it.
|
2008-02-25 23:46:02 +00:00 |
Raymond Hettinger
|
9d63837e9b
|
Make sure the itertools filter functions give the same performance for func=bool as func=None.
|
2008-02-25 22:42:32 +00:00 |
Raymond Hettinger
|
532316dfa6
|
Add more comments
|
2008-02-23 04:03:50 +00:00 |