Raymond Hettinger
|
825758c50b
|
- Issue 4816: itertools.combinations() and itertools.product were raising
a ValueError for values of *r* larger than the input iterable. They now
correctly return an empty iterator.
|
2009-01-08 05:20:19 +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 |
|