20 Commits

Author SHA1 Message Date
Raymond Hettinger
97061ea117 SF patch #855195: fix typos
(Contributed by George Yoshida.)
2003-12-07 13:05:15 +00:00
Raymond Hettinger
f5ab339a55 Backport 1.19:
Use 'predicate = bool' as the default predicate for ifilter[false].
2003-10-20 20:45:33 +00:00
Raymond Hettinger
bd79d846f4 Adopt Christian Stork's suggested argument order for quantifier examples.
Adopt Jeremy Fincher's suggested function name, "any", instead of "some".
2003-10-05 23:05:56 +00:00
Raymond Hettinger
0c20b04674 Fix doubled word errors. 2003-09-22 15:50:51 +00:00
Raymond Hettinger
898b4839bc Add an example to address a common question of how to split iterators. 2003-09-09 00:07:44 +00:00
Raymond Hettinger
9ea45c88da * Add news item for the previous bugfix
* Backport itertoolsmodule.c 1.19 to re-sync Py2.3.1 with Py2.4.
2003-08-30 22:16:59 +00:00
Raymond Hettinger
f84d20ac73 Make the derived tools amendable to cut and paste. 2003-08-25 05:04:22 +00:00
Raymond Hettinger
362545e058 Improve docs:
* Simplify the pure python examples
* Add a quantify() example
2003-08-08 02:41:53 +00:00
Raymond Hettinger
88821f7c20 Important usability fix in itertools documentation. 2003-07-22 06:33:13 +00:00
Raymond Hettinger
3567a876c7 Add take() to examples. Tighten the islice() example 2003-06-28 05:44:36 +00:00
Raymond Hettinger
befa37dd05 Minor updates:
* Updated comment on design of imap()
* Added untraversed object in izip() structure
* Replaced the pairwise() example with a more general window() example
2003-06-18 19:25:37 +00:00
Raymond Hettinger
341deb74e7 The previous made the stop argument optional.
It is better to be explicit and just allow stop to be None.
2003-05-02 19:44:20 +00:00
Raymond Hettinger
14ef54cd83 SF bug #730685: itertools.islice stop argument is not optional
* itertools.islice() stop argument did not perform as documented.
* beefed-up test suite
2003-05-02 19:04:37 +00:00
Raymond Hettinger
863983e8e5 Add comment on performance.
Fix missing right parenthesis.
Add three examples.
2003-04-23 00:09:42 +00:00
Raymond Hettinger
61fe64d5de User requested changes to the itertools module.
Subsumed times() into repeat().
Added cycle() and chain().
2003-02-23 04:40:07 +00:00
Raymond Hettinger
1b18ba49ab Markup and nits. 2003-02-21 01:45:34 +00:00
Michael W. Hudson
eb189934ce Fix so it compiles at least.
"make lib" takes a while, doesn't it?
2003-02-11 14:24:13 +00:00
Raymond Hettinger
60eca9331a C Code:
* 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.
2003-02-09 06:40:58 +00:00
Raymond Hettinger
2012f174ea SF bug #681003: itertools issues
* 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()
2003-02-07 05:32:58 +00:00
Raymond Hettinger
96ef8115dd Move itertools module from the sandbox and into production. 2003-02-01 00:10:11 +00:00