97 Commits

Author SHA1 Message Date
Antoine Pitrou
c7c96a90bc Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
2010-05-09 15:15:40 +00:00
Raymond Hettinger
bbeca275e1 Add sentinel 2009-11-30 21:33:31 +00:00
Raymond Hettinger
673827c6f9 Issue #7410: deepcopy of itertools.count() erroneously reset the count. 2009-11-30 11:15:28 +00:00
Raymond Hettinger
1aef4440fb Fix docstrings for itertools combinatoric functions. 2009-11-19 01:26:23 +00:00
Raymond Hettinger
743d8319ef Fix space/tabs issue. 2009-11-01 20:05:41 +00:00
Raymond Hettinger
4da5faae21 Issue 7244: Fix indentation in C code. Fix test to not sent output to stdout. 2009-11-01 18:43:31 +00:00
Raymond Hettinger
80d49b33b1 Issue 7244: fix exception handling in itertools.izip_longest(). 2009-11-01 08:53:21 +00:00
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