Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
e8f1b00372891ddf6e42886bff397c43dad7a4eb
/
Lib
/
test
/
test_itertools.py
e8b4b60
Add recipe to docs.
by Raymond Hettinger
· 17 years ago
38fb9be
Tweak recipes and tests
by Raymond Hettinger
· 17 years ago
a1ca94a
Issue 2246: itertools grouper object did not participate in GC (should be backported).
by Raymond Hettinger
· 17 years ago
ad47fa1
More tests.
by Raymond Hettinger
· 17 years ago
66f91ea
C implementation of itertools.permutations().
by Raymond Hettinger
· 17 years ago
d553d85
Beef-up docs and tests for itertools. Fix-up end-case for product().
by Raymond Hettinger
· 17 years ago
08ff682
Handle the repeat keyword argument for itertools.product().
by Raymond Hettinger
· 17 years ago
b4cbc98
Add alternate constructor for itertools.chain().
by Raymond Hettinger
· 17 years ago
05bf633
Have itertools.chain() consume its inputs lazily instead of building a tuple of iterators at the outset.
by Raymond Hettinger
· 17 years ago
2ab0552
Larger test range
by Raymond Hettinger
· 17 years ago
93e804d
Add itertools.combinations().
by Raymond Hettinger
· 17 years ago
9d63837
Make sure the itertools filter functions give the same performance for func=bool as func=None.
by Raymond Hettinger
· 17 years ago
73d7963
Improve the implementation of itertools.product()
by Raymond Hettinger
· 17 years ago
50986cc
First draft for itertools.product(). Docs and other updates forthcoming.
by Raymond Hettinger
· 17 years ago
4731709
Make starmap() match its pure python definition and accept any itertable input (not just tuples).
by Raymond Hettinger
· 18 years ago
3a0de08
Fix test of count.__repr__() to ignore the 'L' if the count is a long
by Raymond Hettinger
· 18 years ago
50e90e2
itertools.count() no longer limited to sys.maxint.
by Raymond Hettinger
· 18 years ago
170eee9
Fix those parts in the testsuite that assumed that sys.maxint would cause overflow on x64. Now the testsuite is well behaved on that platform.
by Kristján Valur Jónsson
· 18 years ago
ea5962f
Whitespace normalization.
by Tim Peters
· 18 years ago
d36862c
Add itertools.izip_longest().
by Raymond Hettinger
· 18 years ago
6d121f1
Do not let overflows in enumerate() and count() pass silently.
by Raymond Hettinger
· 19 years ago
b84c137
Bug #1486663: don't reject keyword arguments for subclasses of builtin types.
by Georg Brandl
· 19 years ago
36234e8
* regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t
by Jack Diederich
· 19 years ago
69e8897
Bug #1550714: fix SystemError from itertools.tee on negative value for n.
by Neal Norwitz
· 19 years ago
a3f0927
("Forward-port" of r46506)
by Armin Rigo
· 19 years ago
6b27cda
Convert iterator __len__() methods to a private API.
by Raymond Hettinger
· 20 years ago
fdf3bd6
SF patch #1171417: bug fix for islice() in docs
by Raymond Hettinger
· 20 years ago
f77d033
Revised the itertools quantifier recipes to match the performance of the
by Raymond Hettinger
· 20 years ago
b259405
Added optional None arguments to itertools.islice().
by Raymond Hettinger
· 21 years ago
a9f6092
Fix and test weak referencing of itertools.tee objects.
by Raymond Hettinger
· 21 years ago
ff5dc0e
Improve test coverage.
by Raymond Hettinger
· 21 years ago
4cda01e
* Increase test coverage.
by Raymond Hettinger
· 21 years ago
ffdb8bb
Use floor division operator.
by Raymond Hettinger
· 21 years ago
4533f1f
Improve three recipes in the itertools docs.
by Raymond Hettinger
· 21 years ago
beb7c0c
test_sf_950057's gen1() used an assert statement, which caused the test
by Tim Peters
· 21 years ago
9d7c870
SF #950057: itertools.chain doesn't "process" exceptions as they occur
by Raymond Hettinger
· 21 years ago
5cab2e3
Give itertools.repeat() a length method.
by Raymond Hettinger
· 21 years ago
734fb57
Add a Guido inspired example for groupby().
by Raymond Hettinger
· 22 years ago
64958a1
Guido grants a Christmas wish:
by Raymond Hettinger
· 22 years ago
d25c1c6
Implement itertools.groupby()
by Raymond Hettinger
· 22 years ago
ad983e7
Improve the implementation of itertools.tee().
by Raymond Hettinger
· 22 years ago
d591f66
Replace the window() example with pairwise() which demonstrates tee().
by Raymond Hettinger
· 22 years ago
f0c5aec
Minor improvements to itertools.tee():
by Raymond Hettinger
· 22 years ago
6a5b027
Added itertools.tee()
by Raymond Hettinger
· 22 years ago
dbe3d28
Adopt Christian Stork's suggested argument order for the logic quantifiers.
by Raymond Hettinger
· 22 years ago
42a61ed
Simplify doctest of tee().
by Raymond Hettinger
· 22 years ago
a098b33
Add an example to address a common question of how to split iterators.
by Raymond Hettinger
· 22 years ago
a56f6b6
SF bug #793826: using itertools.izip to mutate tuples
by Raymond Hettinger
· 22 years ago
b5a4208
Modified itertools.izip() to match the behavior of __builtin__.zip()
by Raymond Hettinger
· 22 years ago
77fe69b
Re-sync doc tests with the doc updates.
by Raymond Hettinger
· 22 years ago
0242070
More tests
by Raymond Hettinger
· 22 years ago
3567a87
Add take() to examples. Tighten the islice() example
by Raymond Hettinger
· 22 years ago
befa37d
Minor updates:
by Raymond Hettinger
· 22 years ago
f0fa1c0
Test ability to handle various type of iterators.
by Raymond Hettinger
· 22 years ago
929f06c
Minor cleanups.
by Raymond Hettinger
· 22 years ago
7c2bb5b
* Added a substantial number of edge case and argument tests for
by Raymond Hettinger
· 22 years ago
8fd3f87
Add StopIteration tests. Simplify test_main().
by Raymond Hettinger
· 22 years ago
341deb7
The previous made the stop argument optional.
by Raymond Hettinger
· 22 years ago
14ef54c
SF bug #730685: itertools.islice stop argument is not optional
by Raymond Hettinger
· 22 years ago
21d3a32
Combine the functionality of test_support.run_unittest()
by Walter Dörwald
· 22 years ago
61fe64d
User requested changes to the itertools module.
by Raymond Hettinger
· 22 years ago
60eca93
C Code:
by Raymond Hettinger
· 23 years ago
2012f17
SF bug #681003: itertools issues
by Raymond Hettinger
· 23 years ago
874d9bc
Neaten ref count test.
by Raymond Hettinger
· 23 years ago
96ef811
Move itertools module from the sandbox and into production.
by Raymond Hettinger
· 23 years ago