summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libitertools.tex
Commit message (Collapse)AuthorAgeFilesLines
* Style nit.Raymond Hettinger2004-07-111-2/+2
|
* Minor wording and spacing nits.Raymond Hettinger2004-06-121-2/+0
|
* Minor documentation nits.Raymond Hettinger2004-05-011-11/+29
|
* Add a Guido inspired example for groupby().Raymond Hettinger2004-01-201-1/+14
|
* Fix typoAndrew M. Kuchling2003-12-181-1/+1
|
* Guido grants a Christmas wish:Raymond Hettinger2003-12-171-1/+1
| | | | sorted() becomes a regular function instead of a classmethod.
* SF patch #855195: fix typosRaymond Hettinger2003-12-071-0/+1
| | | | (Contributed by George Yoshida.)
* Edit description a bitAndrew M. Kuchling2003-12-061-2/+2
|
* Implement itertools.groupby()Raymond Hettinger2003-12-061-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 Hettinger2003-11-121-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 Hettinger2003-10-261-10/+4
|
* Added itertools.tee()Raymond Hettinger2003-10-241-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 Rossum2003-10-201-4/+2
|
* Adopt Christian Stork's suggested argument order for the logic quantifiers.Raymond Hettinger2003-10-051-4/+4
| | | | Adopt Jeremy Fincher's suggested function name, "any", instead of "some".
* SF 810242. Fix doubled word errors.Raymond Hettinger2003-09-221-1/+1
|
* Add an example to address a common question of how to split iterators.Raymond Hettinger2003-09-081-7/+20
|
* Make the derived tools amendable to cut and paste.Raymond Hettinger2003-08-251-54/+54
|
* Modified itertools.izip() to match the behavior of __builtin__.zip()Raymond Hettinger2003-08-081-1/+4
| | | | which can now take zero arguments.
* Improve docs:Raymond Hettinger2003-08-081-16/+13
| | | | | * Simplify the pure python examples * Add a quantify() example
* Important usability fix in itertools documentation.Raymond Hettinger2003-07-221-3/+3
|
* Add take() to examples. Tighten the islice() exampleRaymond Hettinger2003-06-281-1/+4
|
* Minor updates:Raymond Hettinger2003-06-181-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 Hettinger2003-05-021-10/+7
| | | | It is better to be explicit and just allow stop to be None.
* SF bug #730685: itertools.islice stop argument is not optionalRaymond Hettinger2003-05-021-10/+13
| | | | | * itertools.islice() stop argument did not perform as documented. * beefed-up test suite
* Add comment on performance.Raymond Hettinger2003-04-231-3/+21
| | | | | Fix missing right parenthesis. Add three examples.
* User requested changes to the itertools module.Raymond Hettinger2003-02-231-40/+52
| | | | | Subsumed times() into repeat(). Added cycle() and chain().
* Markup and nits.Raymond Hettinger2003-02-211-12/+11
|
* Fix so it compiles at least.Michael W. Hudson2003-02-111-1/+1
| | | | "make lib" takes a while, doesn't it?
* C Code:Raymond Hettinger2003-02-091-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 issuesRaymond Hettinger2003-02-071-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 Hettinger2003-02-011-0/+325