summaryrefslogtreecommitdiffstats
path: root/Modules/itertoolsmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-151-7/+12
|\ | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
| * Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-151-4/+9
| | | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
* | Add safecase to silence Win64 warning.Martin v. Löwis2012-05-151-1/+2
| |
* | Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-53/+837
| |
* | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.Martin v. Löwis2011-10-141-2/+2
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-1/+1
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-1/+3
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Merge #12973 itertools fix.Mark Dickinson2011-09-241-1/+3
|\ \ | |/
| * Issue #12973: Fix itertools bug caused by signed integer overflow. Thanks ↵Mark Dickinson2011-09-241-1/+3
| | | | | | | | Stefan Krah.
* | Merge 3.2Kristjan Valur Jonsson2011-03-301-3/+6
|\ \ | |/
| * Merge 3.1Kristjan Valur Jonsson2011-03-301-3/+6
| |\
| | * Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.Kristjan Valur Jonsson2011-03-301-3/+6
| | | | | | | | | | | | | | | ti can raise an exception even if PyLong_Check() has succeeded.
| | * Issue #10323: Predictable final state for slice().Raymond Hettinger2010-11-301-3/+4
| | |
| | * Merged revisions 81891 via svnmerge fromEzio Melotti2010-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81891 | ezio.melotti | 2010-06-11 05:26:42 +0300 (Fri, 11 Jun 2010) | 9 lines Merged revisions 81889 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line Remove extra ] from itertools.count docstring. ........ ................
| | * Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-2628/+2628
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines 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. ........ ................
| | * Issue #7410: deepcopy of itertools.count was resetting the count.Raymond Hettinger2009-11-301-1/+17
| | |
| | * Fix docstrings for itertools combinatoric functions.Raymond Hettinger2009-11-191-4/+4
| | |
| | * Fix exception handling in itertools.izip_longest().Raymond Hettinger2009-11-011-35/+37
| | |
* | | Update docstrings for itertools.accumulate().Raymond Hettinger2011-03-281-3/+3
| | |
* | | Add optional *func* argument to itertools.accumulate().Raymond Hettinger2011-03-281-4/+14
|/ /
* | Simplify the signature for itertools.accumulate() to match numpy. Handle ↵Raymond Hettinger2010-12-031-23/+15
| | | | | | | | one item iterable the same way as min()/max().
* | Add itertools.accumulate().Raymond Hettinger2010-12-011-0/+142
| |
* | Issue #10323: Predictable final state for slice().Raymond Hettinger2010-11-301-3/+4
| |
* | Merged revisions 81889 via svnmerge fromEzio Melotti2010-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line Remove extra ] from itertools.count docstring. ........
* | Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-2628/+2628
| | | | | | | | | | | | | | | | | | | | 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. ........
* | Issue 7410: deepcopy of itertools.count() reset the count.Raymond Hettinger2009-11-301-1/+17
| |
* | Fix docstrings for itertools combinatoric functions.Raymond Hettinger2009-11-191-4/+4
| |
* | Fix exception handling in itertools.izip_longest().Raymond Hettinger2009-11-011-35/+37
|/
* add sys prefixBenjamin Peterson2009-06-241-3/+3
|
* Issue 6305: Clarify error message for large arguments to itertools.islice().Raymond Hettinger2009-06-231-3/+3
|
* Merged revisions 69855 via svnmerge fromBenjamin Peterson2009-02-211-6/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69855 | benjamin.peterson | 2009-02-21 17:09:33 -0600 (Sat, 21 Feb 2009) | 1 line fix compiler warnings ........
* Port r69837: Fix keyword arguments for itertools.count(). Step arg without a ↵Raymond Hettinger2009-02-211-28/+43
| | | | start arg was ignored.
* Add keyword arg support to itertools.repeat().Raymond Hettinger2009-02-191-7/+6
|
* Add keyword arg support to itertools.compress().Raymond Hettinger2009-02-191-6/+4
|
* Merged revisions 69688,69690 via svnmerge fromBenjamin Peterson2009-02-161-7/+9
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69688 | benjamin.peterson | 2009-02-16 15:07:52 -0600 (Mon, 16 Feb 2009) | 1 line fix compiler warnings ........ r69690 | benjamin.peterson | 2009-02-16 15:23:04 -0600 (Mon, 16 Feb 2009) | 1 line PyList_Append() can fail ........
* Add GC support to count() objects.Raymond Hettinger2009-02-161-4/+14
|
* Add keyword argument support to itertools.count().Raymond Hettinger2009-02-141-6/+5
|
* Fix spaces/tabs in example.Raymond Hettinger2009-02-121-4/+3
|
* Issue 5032: added a step argument to itertools.count() and allowed ↵Raymond Hettinger2009-02-121-31/+83
| | | | non-integer arguments.
* Merged revisions 69466,69480 via svnmerge fromBenjamin Peterson2009-02-101-0/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69466 | raymond.hettinger | 2009-02-09 12:39:41 -0600 (Mon, 09 Feb 2009) | 3 lines Issue 5171: itertools.product docstring missing 'repeat' argument ........ r69480 | raymond.hettinger | 2009-02-09 19:24:05 -0600 (Mon, 09 Feb 2009) | 1 line Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames. ........
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-19/+19
| | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong.
* Fix typo.Raymond Hettinger2009-01-291-6/+6
|
* Update itertools.__doc__ to include all tools.Raymond Hettinger2009-01-291-4/+11
|
* Forward port r69001: itertools.combinations_with_replacement().Raymond Hettinger2009-01-271-2/+251
|
* Forward port r68941 adding itertools.compress().Raymond Hettinger2009-01-261-0/+157
|
* Merged revisions 68560 via svnmerge fromAmaury Forgeot d'Arc2009-01-121-8/+0
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68560 | amaury.forgeotdarc | 2009-01-13 00:36:55 +0100 (mar., 13 janv. 2009) | 6 lines #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. ........
* Merge in r68394 fixing itertools.permutations() and combinations().Raymond Hettinger2009-01-081-10/+2
|
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-7/+21
|
* Merged revisions ↵Georg Brandl2008-06-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63829-63831,63858,63865,63879,63882,63948,63970-63972,63976,63989,64014-64015,64021-64022,64063-64065,64067 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63829 | mark.summerfield | 2008-05-31 15:05:34 +0200 (Sat, 31 May 2008) | 4 lines Added a note to [] that special forms & special chars lose their meaning and backrefs can't be used inside [] ........ r63830 | georg.brandl | 2008-05-31 16:40:09 +0200 (Sat, 31 May 2008) | 2 lines #3010: clarification about stdin/use_rawinput. ........ r63831 | georg.brandl | 2008-05-31 16:45:55 +0200 (Sat, 31 May 2008) | 2 lines #3005: add explaining sentence to easydialogs docs. ........ r63858 | georg.brandl | 2008-06-01 18:41:31 +0200 (Sun, 01 Jun 2008) | 2 lines Add plain text make target. ........ r63865 | georg.brandl | 2008-06-01 21:24:36 +0200 (Sun, 01 Jun 2008) | 2 lines Spaces vs. tabs. ........ r63879 | gregory.p.smith | 2008-06-02 00:57:47 +0200 (Mon, 02 Jun 2008) | 3 lines Make the _H #define's match the header file names. Fix comments to mention the correct type names. ........ r63882 | gregory.p.smith | 2008-06-02 01:48:47 +0200 (Mon, 02 Jun 2008) | 3 lines Adds a Thread.getIdent() method to provide the _get_ident() value for any given threading.Thread object. feature request issue 2871. ........ r63948 | alexandre.vassalotti | 2008-06-04 22:41:44 +0200 (Wed, 04 Jun 2008) | 2 lines Fixed complex.__getnewargs__() to not emit another complex object. ........ r63970 | andrew.kuchling | 2008-06-06 01:33:54 +0200 (Fri, 06 Jun 2008) | 1 line Document 'utc' parameter ........ r63971 | andrew.kuchling | 2008-06-06 01:35:31 +0200 (Fri, 06 Jun 2008) | 1 line Add various items ........ r63972 | andrew.kuchling | 2008-06-06 01:35:48 +0200 (Fri, 06 Jun 2008) | 1 line Grammar fix ........ r63976 | georg.brandl | 2008-06-06 09:34:50 +0200 (Fri, 06 Jun 2008) | 2 lines Markup fix. ........ r63989 | thomas.heller | 2008-06-06 20:42:11 +0200 (Fri, 06 Jun 2008) | 2 lines Add a reminder for the maintainer of whatsnew. ........ r64014 | georg.brandl | 2008-06-07 17:59:10 +0200 (Sat, 07 Jun 2008) | 3 lines Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc() to ease standalone use of the algorithm. ........ r64015 | georg.brandl | 2008-06-07 18:04:01 +0200 (Sat, 07 Jun 2008) | 2 lines Revert unwanted changes. ........ r64021 | georg.brandl | 2008-06-07 20:16:12 +0200 (Sat, 07 Jun 2008) | 2 lines X-ref to numbers module. ........ r64022 | georg.brandl | 2008-06-07 20:17:37 +0200 (Sat, 07 Jun 2008) | 3 lines Document the "st" API, to avoid confusion with the "new" AST. Add a note about using the new AST module. ........ r64063 | martin.v.loewis | 2008-06-10 07:03:35 +0200 (Tue, 10 Jun 2008) | 2 lines Add Gregor Lingl. ........ r64064 | georg.brandl | 2008-06-10 09:45:28 +0200 (Tue, 10 Jun 2008) | 2 lines Add the "ast" module, containing helpers to ease use of the "_ast" classes. ........ r64065 | raymond.hettinger | 2008-06-10 09:57:15 +0200 (Tue, 10 Jun 2008) | 1 line Add Arnaud for his efforts on multi-arg set operations. ........ r64067 | georg.brandl | 2008-06-10 14:46:39 +0200 (Tue, 10 Jun 2008) | 2 lines #2536: fix itertools.permutations and itertools.combinations docstrings. ........
* Fix a refleakNeal Norwitz2008-04-011-1/+1
|