Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix whitespace. | Raymond Hettinger | 2005-03-27 | 1 | -1/+1 |
| | |||||
* | SF patch #1171417: bug fix for islice() in docs | Raymond Hettinger | 2005-03-27 | 1 | -9/+7 |
| | |||||
* | Revised the itertools quantifier recipes to match the performance of the | Raymond Hettinger | 2005-03-11 | 1 | -8/+8 |
| | | | | new builtins. | ||||
* | Added optional None arguments to itertools.islice(). | Raymond Hettinger | 2004-12-05 | 1 | -0/+5 |
| | |||||
* | Improve three recipes in the itertools docs. | Raymond Hettinger | 2004-09-23 | 1 | -4/+10 |
| | |||||
* | Style nit. | Raymond Hettinger | 2004-07-11 | 1 | -2/+2 |
| | |||||
* | Minor wording and spacing nits. | Raymond Hettinger | 2004-06-12 | 1 | -2/+0 |
| | |||||
* | Minor documentation nits. | Raymond Hettinger | 2004-05-01 | 1 | -11/+29 |
| | |||||
* | Add a Guido inspired example for groupby(). | Raymond Hettinger | 2004-01-20 | 1 | -1/+14 |
| | |||||
* | Fix typo | Andrew M. Kuchling | 2003-12-18 | 1 | -1/+1 |
| | |||||
* | Guido grants a Christmas wish: | Raymond Hettinger | 2003-12-17 | 1 | -1/+1 |
| | | | | sorted() becomes a regular function instead of a classmethod. | ||||
* | SF patch #855195: fix typos | Raymond Hettinger | 2003-12-07 | 1 | -0/+1 |
| | | | | (Contributed by George Yoshida.) | ||||
* | Edit description a bit | Andrew M. Kuchling | 2003-12-06 | 1 | -2/+2 |
| | |||||
* | Implement itertools.groupby() | Raymond Hettinger | 2003-12-06 | 1 | -0/+60 |
| | | | | | | | Original idea by Guido van Rossum. Idea for skipable inner iterators by Raymond Hettinger. Idea for argument order and identity function default by Alex Martelli. Implementation by Hye-Shik Chang (with tweaks by Raymond Hettinger). | ||||
* | Improve the implementation of itertools.tee(). | Raymond Hettinger | 2003-11-12 | 1 | -4/+12 |
| | | | | | | | | | | | Formerly, underlying queue was implemented in terms of two lists. The new queue is a series of singly-linked fixed length lists. The new implementation runs much faster, supports multi-way tees, and allows tees of tees without additional memory costs. The root ideas for this structure were contributed by Andrew Koenig and Guido van Rossum. | ||||
* | Replace the window() example with pairwise() which demonstrates tee(). | Raymond Hettinger | 2003-10-26 | 1 | -10/+4 |
| | |||||
* | Added itertools.tee() | Raymond Hettinger | 2003-10-24 | 1 | -17/+39 |
| | | | | | | It works like the pure python verion except: * it stops storing data after of the iterators gets deallocated * the data queue is implemented with two stacks instead of one dictionary. | ||||
* | Use 'predicate = bool' as the default predicate for ifilter[false]. | Guido van Rossum | 2003-10-20 | 1 | -4/+2 |
| | |||||
* | Adopt Christian Stork's suggested argument order for the logic quantifiers. | Raymond Hettinger | 2003-10-05 | 1 | -4/+4 |
| | | | | Adopt Jeremy Fincher's suggested function name, "any", instead of "some". | ||||
* | SF 810242. Fix doubled word errors. | Raymond Hettinger | 2003-09-22 | 1 | -1/+1 |
| | |||||
* | Add an example to address a common question of how to split iterators. | Raymond Hettinger | 2003-09-08 | 1 | -7/+20 |
| | |||||
* | Make the derived tools amendable to cut and paste. | Raymond Hettinger | 2003-08-25 | 1 | -54/+54 |
| | |||||
* | Modified itertools.izip() to match the behavior of __builtin__.zip() | Raymond Hettinger | 2003-08-08 | 1 | -1/+4 |
| | | | | which can now take zero arguments. | ||||
* | Improve docs: | Raymond Hettinger | 2003-08-08 | 1 | -16/+13 |
| | | | | | * Simplify the pure python examples * Add a quantify() example | ||||
* | Important usability fix in itertools documentation. | Raymond Hettinger | 2003-07-22 | 1 | -3/+3 |
| | |||||
* | Add take() to examples. Tighten the islice() example | Raymond Hettinger | 2003-06-28 | 1 | -1/+4 |
| | |||||
* | Minor updates: | Raymond Hettinger | 2003-06-18 | 1 | -4/+11 |
| | | | | | | * Updated comment on design of imap() * Added untraversed object in izip() structure * Replaced the pairwise() example with a more general window() example | ||||
* | The previous made the stop argument optional. | Raymond Hettinger | 2003-05-02 | 1 | -10/+7 |
| | | | | It is better to be explicit and just allow stop to be None. | ||||
* | SF bug #730685: itertools.islice stop argument is not optional | Raymond Hettinger | 2003-05-02 | 1 | -10/+13 |
| | | | | | * itertools.islice() stop argument did not perform as documented. * beefed-up test suite | ||||
* | Add comment on performance. | Raymond Hettinger | 2003-04-23 | 1 | -3/+21 |
| | | | | | Fix missing right parenthesis. Add three examples. | ||||
* | User requested changes to the itertools module. | Raymond Hettinger | 2003-02-23 | 1 | -40/+52 |
| | | | | | Subsumed times() into repeat(). Added cycle() and chain(). | ||||
* | Markup and nits. | Raymond Hettinger | 2003-02-21 | 1 | -12/+11 |
| | |||||
* | Fix so it compiles at least. | Michael W. Hudson | 2003-02-11 | 1 | -1/+1 |
| | | | | "make lib" takes a while, doesn't it? | ||||
* | C Code: | Raymond Hettinger | 2003-02-09 | 1 | -66/+84 |
| | | | | | | | | | | | | | | | * Removed the ifilter flag wart by splitting it into two simpler functions. * Fixed comment tabbing in C code. * Factored module start-up code into a loop. Documentation: * Re-wrote introduction. * Addede examples for quantifiers. * Simplified python equivalent for islice(). * Documented split of ifilter(). Sets.py: * Replace old ifilter() usage with new. | ||||
* | SF bug #681003: itertools issues | Raymond Hettinger | 2003-02-07 | 1 | -0/+4 |
| | | | | | | | | | | | * Fixed typo in exception message for times() * Filled in missing times_traverse() * Document reasons that imap() did not adopt a None fill-in feature * Document that count(sys.maxint) will wrap-around on overflow * Add overflow test to islice() * Check that starmap()'s argument returns a tuple * Verify that imap()'s tuple re-use is safe * Make a similar tuple re-use (with safety check) for izip() | ||||
* | Move itertools module from the sandbox and into production. | Raymond Hettinger | 2003-02-01 | 1 | -0/+325 |