Raymond Hettinger
|
2ec5fd546f
|
Document another recipe for itertools: all_equal(). Inspired by David Beazley.
|
2016-03-06 18:06:29 -08:00 |
|
Serhiy Storchaka
|
53ea162067
|
Make some tests more frienly to MemoryError.
Free memory, unlock hanging threads.
|
2015-03-28 20:38:48 +02:00 |
|
Serhiy Storchaka
|
42aa9c078a
|
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
|
2015-02-03 01:34:09 +02:00 |
|
Benjamin Peterson
|
dda9121ad1
|
check for overflows in permutations() and product() (closes #23363, closes #23364)
|
2015-02-01 21:34:07 -05:00 |
|
Benjamin Peterson
|
17845c1786
|
check for overflow in combinations_with_replacement (closes #23365)
|
2015-02-01 21:10:47 -05:00 |
|
Benjamin Peterson
|
021dec1c96
|
detect overflow in combinations (closes #23366)
|
2015-02-01 20:59:00 -05:00 |
|
Serhiy Storchaka
|
655720e275
|
Issue #22777: Test pickling with all protocols.
|
2014-12-15 14:02:43 +02:00 |
|
Benjamin Peterson
|
ec9d547edd
|
allow test to work on implementations not using ref-counting (closes #22265)
|
2014-08-24 18:07:28 -05:00 |
|
Raymond Hettinger
|
58ad24512a
|
Issue #19145: Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
(Patch contributed by Vajrasky Kok.)
|
2014-06-24 21:53:45 -07:00 |
|
Antoine Pitrou
|
3ec903fce4
|
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Patch by Anton Afanasyev.
|
2014-04-29 12:13:46 +02:00 |
|
Zachary Ware
|
4e0df17bd7
|
Issue #21346: Fix typos in test_itertools. Patch by Brian Kearns.
|
2014-04-24 13:20:27 -05:00 |
|
Serhiy Storchaka
|
6c467a41bc
|
Revert a premature patch for issue #14010 (changeset d17d10c84d27).
|
2013-04-06 22:51:29 +03:00 |
|
Serhiy Storchaka
|
bb84565cdb
|
Issue #14010: Fix a crash when iterating or deleting deeply nested filters
in itertools module (i.e. itertools.izip(), itertools.chain(), etc).
|
2013-04-06 22:04:10 +03:00 |
|
Serhiy Storchaka
|
6fef14d7f3
|
Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
|
2013-01-26 11:51:42 +02:00 |
|
Serhiy Storchaka
|
b09ec9b618
|
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
|
2013-01-25 13:31:05 +02:00 |
|
Alex Gaynor
|
9737648c74
|
Backport 2eb8789e30e7.
|
2011-07-17 16:44:31 -07:00 |
|
Ezio Melotti
|
c2077b0d9b
|
#11565: Fix several typos. Patch by Piotr Kasprzyk.
|
2011-03-16 12:34:31 +02:00 |
|
Raymond Hettinger
|
061bf7a11a
|
Issue #10323: Predictable final state for slice().
|
2010-11-30 03:15:35 +00:00 |
|
Ezio Melotti
|
2623a37852
|
Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
|
2010-11-21 13:34:58 +00:00 |
|
Ezio Melotti
|
dde5b94875
|
#7092: Silence more py3k warnings. Patch by Florent Xicluna.
|
2010-02-03 05:37:26 +00:00 |
|
Ezio Melotti
|
aa98058cc4
|
use assert[Not]In where appropriate
|
2010-01-23 23:04:36 +00:00 |
|
Senthil Kumaran
|
ce8e33a095
|
Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
|
2010-01-08 19:04:16 +00:00 |
|
Senthil Kumaran
|
3ddc435af6
|
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
|
2010-01-08 18:41:40 +00:00 |
|
Raymond Hettinger
|
e09f45a2e3
|
Issue 7410: deepcopy of itertools.count resets the count
|
2009-11-30 19:44:40 +00:00 |
|
Raymond Hettinger
|
fa7dadd339
|
Fix exception handling in itertools.izip_longest().
|
2009-11-01 20:45:16 +00:00 |
|