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 |
|
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 |
|
Eli Bendersky
|
e6802db7d1
|
Close #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
|
2013-09-03 06:41:58 -07: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
|
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 |
|
Antoine Pitrou
|
c5bef75c77
|
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
|
2012-08-15 23:16:51 +02:00 |
|
Mark Dickinson
|
a96b0d119d
|
Backport issue #12973 itertools fix from 3.x.
|
2011-09-24 09:01:16 +01:00 |
|
Raymond Hettinger
|
061bf7a11a
|
Issue #10323: Predictable final state for slice().
|
2010-11-30 03:15:35 +00:00 |
|
Ezio Melotti
|
fdc1e0d013
|
Remove extra ] from itertools.count docstring.
|
2010-06-11 02:21:25 +00:00 |
|
Antoine Pitrou
|
c83ea137d7
|
Untabify C files. Will watch buildbots.
|
2010-05-09 14:46:46 +00:00 |
|
Raymond Hettinger
|
9b4197ba53
|
Handle step values other than one.
|
2009-11-30 21:13:52 +00:00 |
|
Raymond Hettinger
|
e09f45a2e3
|
Issue 7410: deepcopy of itertools.count resets the count
|
2009-11-30 19:44:40 +00:00 |
|
Raymond Hettinger
|
9eac119ba8
|
Fix docstrings for itertools combinatoric functions.
|
2009-11-19 01:22:04 +00:00 |
|
Raymond Hettinger
|
fa7dadd339
|
Fix exception handling in itertools.izip_longest().
|
2009-11-01 20:45:16 +00:00 |
|
Raymond Hettinger
|
0115e098da
|
Issue 6305: Clarify error message for large arguments to itertools.islice().
|
2009-06-23 21:32:28 +00:00 |
|
Benjamin Peterson
|
873389dbd8
|
fix compiler warnings
|
2009-02-21 23:09:33 +00:00 |
|
Raymond Hettinger
|
aa681c7b99
|
Fix keyword arguments for itertools.count().
Step arg without a start arg was ignored.
|
2009-02-21 07:17:22 +00:00 |
|
Raymond Hettinger
|
182edaefb5
|
Add keyword arg support to itertools.repeat().
|
2009-02-19 02:38:25 +00:00 |
|
Raymond Hettinger
|
2e2909f584
|
Add keyword arg support to itertools.compress().
|
2009-02-19 02:15:14 +00:00 |
|
Benjamin Peterson
|
a7b0c12152
|
PyList_Append() can fail
|
2009-02-16 21:23:04 +00:00 |
|