Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
95b6f2588c74ac50b7d257ac8cc9383a0de8be6d
/
Lib
/
test
/
test_itertools.py
6c467a4
Revert a premature patch for issue #14010 (changeset d17d10c84d27).
by Serhiy Storchaka
· 12 years ago
bb84565
Issue #14010: Fix a crash when iterating or deleting deeply nested filters
by Serhiy Storchaka
· 12 years ago
6fef14d
Optimize the test for issue #13454.
by Serhiy Storchaka
· 12 years ago
b09ec9b
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
by Serhiy Storchaka
· 12 years ago
9737648
Backport 2eb8789e30e7.
by Alex Gaynor
· 13 years ago
c2077b0
#11565: Fix several typos. Patch by Piotr Kasprzyk.
by Ezio Melotti
· 14 years ago
061bf7a
Issue #10323: Predictable final state for slice().
by Raymond Hettinger
· 14 years ago
2623a37
Merged revisions 86596 via svnmerge from
by Ezio Melotti
· 14 years ago
dde5b94
#7092: Silence more py3k warnings. Patch by Florent Xicluna.
by Ezio Melotti
· 15 years ago
aa98058
use assert[Not]In where appropriate
by Ezio Melotti
· 15 years ago
ce8e33a
Reverting the Revision: 77368. I committed Flox's big patch for tests by
by Senthil Kumaran
· 15 years ago
3ddc435
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
by Senthil Kumaran
· 15 years ago
e09f45a
Issue 7410: deepcopy of itertools.count resets the count
by Raymond Hettinger
· 15 years ago
fa7dadd
Fix exception handling in itertools.izip_longest().
by Raymond Hettinger
· 15 years ago
5c8da86
convert usage of fail* to assert*
by Benjamin Peterson
· 15 years ago
aa681c7
Fix keyword arguments for itertools.count().
by Raymond Hettinger
· 16 years ago
f9bce83
Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe.
by Raymond Hettinger
· 16 years ago
182edae
Add keyword arg support to itertools.repeat().
by Raymond Hettinger
· 16 years ago
2e2909f
Add keyword arg support to itertools.compress().
by Raymond Hettinger
· 16 years ago
b21d810
Add GC support to count() objects. Backport candidate.
by Raymond Hettinger
· 16 years ago
a403803
Add keyword argument support to itertools.count().
by Raymond Hettinger
· 16 years ago
dbe3bfb
One more test.
by Raymond Hettinger
· 16 years ago
aa04461
Add an extra testcase.
by Raymond Hettinger
· 16 years ago
31c769c
Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments.
by Raymond Hettinger
· 16 years ago
d507afd
Minor doc fixups.
by Raymond Hettinger
· 16 years ago
560f9a8
Add more tests for the powerset() recipe.
by Raymond Hettinger
· 16 years ago
2f6c2e0
More exhaustive combinatoric checks.
by Raymond Hettinger
· 16 years ago
f93f303
Stronger tests for combinatoric relationships.
by Raymond Hettinger
· 16 years ago
2976aaa
Add tests to verify combinatoric relationships.
by Raymond Hettinger
· 16 years ago
d081abc
Promote combinations_with_replacement() from a recipe to a regular itertool.
by Raymond Hettinger
· 16 years ago
68d919e
Improved itertools recipe for generating powerset().
by Raymond Hettinger
· 16 years ago
2bcb8e9
Promote compress() from a recipe to being a regular itertool.
by Raymond Hettinger
· 16 years ago
5b913e3
Forward port r68394 for issue 4816.
by Raymond Hettinger
· 16 years ago
44e1581
Issue #4615. Document how to use itertools for de-duping.
by Raymond Hettinger
· 16 years ago
f080e6d
Alter recipe to show how to call izip_longest() with
by Raymond Hettinger
· 16 years ago
efdf706
Neaten-up the itertools recipes.
by Raymond Hettinger
· 16 years ago
f1f46f0
Clean-up itertools docs and recipes.
by Raymond Hettinger
· 16 years ago
39e0eb7
Fix compress() recipe in docs to use itertools.
by Raymond Hettinger
· 16 years ago
3369167
Add recipe to the itertools docs.
by Raymond Hettinger
· 16 years ago
e70bb8d
Simplify demo code.
by Raymond Hettinger
· 17 years ago
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
· 17 years ago
3a0de08
Fix test of count.__repr__() to ignore the 'L' if the count is a long
by Raymond Hettinger
· 17 years ago
50e90e2
itertools.count() no longer limited to sys.maxint.
by Raymond Hettinger
· 17 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
· 18 years ago
b84c137
Bug #1486663: don't reject keyword arguments for subclasses of builtin types.
by Georg Brandl
· 18 years ago
36234e8
* regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t
by Jack Diederich
· 18 years ago
69e8897
Bug #1550714: fix SystemError from itertools.tee on negative value for n.
by Neal Norwitz
· 18 years ago
a3f0927
("Forward-port" of r46506)
by Armin Rigo
· 18 years ago
6b27cda
Convert iterator __len__() methods to a private API.
by Raymond Hettinger
· 19 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
· 20 years ago
a9f6092
Fix and test weak referencing of itertools.tee objects.
by Raymond Hettinger
· 20 years ago
ff5dc0e
Improve test coverage.
by Raymond Hettinger
· 20 years ago
4cda01e
* Increase test coverage.
by Raymond Hettinger
· 20 years ago
ffdb8bb
Use floor division operator.
by Raymond Hettinger
· 20 years ago
4533f1f
Improve three recipes in the itertools docs.
by Raymond Hettinger
· 20 years ago
beb7c0c
test_sf_950057's gen1() used an assert statement, which caused the test
by Tim Peters
· 20 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
· 21 years ago
64958a1
Guido grants a Christmas wish:
by Raymond Hettinger
· 21 years ago
d25c1c6
Implement itertools.groupby()
by Raymond Hettinger
· 21 years ago
ad983e7
Improve the implementation of itertools.tee().
by Raymond Hettinger
· 21 years ago
d591f66
Replace the window() example with pairwise() which demonstrates tee().
by Raymond Hettinger
· 21 years ago
f0c5aec
Minor improvements to itertools.tee():
by Raymond Hettinger
· 21 years ago
6a5b027
Added itertools.tee()
by Raymond Hettinger
· 21 years ago
dbe3d28
Adopt Christian Stork's suggested argument order for the logic quantifiers.
by Raymond Hettinger
· 21 years ago
42a61ed
Simplify doctest of tee().
by Raymond Hettinger
· 21 years ago
a098b33
Add an example to address a common question of how to split iterators.
by Raymond Hettinger
· 21 years ago
a56f6b6
SF bug #793826: using itertools.izip to mutate tuples
by Raymond Hettinger
· 21 years ago
b5a4208
Modified itertools.izip() to match the behavior of __builtin__.zip()
by Raymond Hettinger
· 21 years ago
77fe69b
Re-sync doc tests with the doc updates.
by Raymond Hettinger
· 21 years ago
0242070
More tests
by Raymond Hettinger
· 21 years ago
3567a87
Add take() to examples. Tighten the islice() example
by Raymond Hettinger
· 21 years ago
befa37d
Minor updates:
by Raymond Hettinger
· 21 years ago
f0fa1c0
Test ability to handle various type of iterators.
by Raymond Hettinger
· 21 years ago
929f06c
Minor cleanups.
by Raymond Hettinger
· 21 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
Next »