Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								20b3e72b8d
								
							
						 | 
						
							
							
								
								Merge
							
							
							
							
							
						 | 
						
							2016-03-06 18:12:08 -08:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								e525ee3b48
								
							
						 | 
						
							
							
								
								Document another recipe for itertools:  all_equal().  Inspired by David Beazley.
							
							
							
							
							
						 | 
						
							2016-03-06 18:11:38 -08:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								5608411a96
								
							
						 | 
						
							
							
								
								Issue #25718: Fixed pickling and copying the accumulate() iterator with total is None.
							
							
							
							
							
						 | 
						
							2016-03-06 14:02:26 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								d55162517d
								
							
						 | 
						
							
							
								
								Issue #25718: Fixed pickling and copying the accumulate() iterator with total is None.
							
							
							
							
							
						 | 
						
							2016-03-06 14:00:45 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Kristján Valur Jónsson
								
							 
						 | 
						
							
							
							
							
								
							
							
								a8a930f863
								
							
						 | 
						
							
							
								
								Issue #25021: Merge 3.5 to default
							
							
							
							
							
						 | 
						
							2015-09-12 16:36:15 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Kristján Valur Jónsson
								
							 
						 | 
						
							
							
							
							
								
							
							
								d7f65e5763
								
							
						 | 
						
							
							
								
								Issue #25021: Merge 3.4 to 3.5
							
							
							
							
							
						 | 
						
							2015-09-12 16:34:33 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Kristján Valur Jónsson
								
							 
						 | 
						
							
							
							
							
								
							
							
								95c3e6cb22
								
							
						 | 
						
							
							
								
								Issue #25021: Merge from 3.3 to 3.4
							
							
							
							
							
						 | 
						
							2015-09-12 15:30:23 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Kristján Valur Jónsson
								
							 
						 | 
						
							
							
							
							
								
							
							
								102764a1f6
								
							
						 | 
						
							
							
								
								Issue #25021: Correctly make sure that product.__setstate__ does not access
							
							
							
							
							
							
							
							invalid memory. 
							
						 | 
						
							2015-09-12 15:20:54 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								1cadf769b3
								
							
						 | 
						
							
							
								
								Improve comment
							
							
							
							
							
						 | 
						
							2015-08-15 14:47:27 -07:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								a166ce561c
								
							
						 | 
						
							
							
								
								Add more tests for pickling itertools.cycle
							
							
							
							
							
						 | 
						
							2015-08-15 14:45:49 -07:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								79c878d5f2
								
							
						 | 
						
							
							
								
								Fix crash in itertools.cycle.__setstate__() caused by lack of type checking.
							
							
							
							
							
							
							
							Will backport after the 3.6 release is done. 
							
						 | 
						
							2015-08-15 13:51:59 -07:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								1770fde94c
								
							
						 | 
						
							
							
								
								Make some tests more frienly to MemoryError.
							
							
							
							
							
							
							
							Free memory, unlock hanging threads. 
							
						 | 
						
							2015-03-28 20:39:51 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								9db55004a1
								
							
						 | 
						
							
							
								
								Make some tests more frienly to MemoryError.
							
							
							
							
							
							
							
							Free memory, unlock hanging threads. 
							
						 | 
						
							2015-03-28 20:38:37 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								a60c2fe480
								
							
						 | 
						
							
							
								
								Issue #23641: Cleaned out legacy dunder names from tests and docs.
							
							
							
							
							
							
							
							Fixed 2 to 3 porting bug in pynche.ColorDB. 
							
						 | 
						
							2015-03-12 21:56:08 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								c2ccce791c
								
							
						 | 
						
							
							
								
								Issue #23641: Cleaned out legacy dunder names from tests and docs.
							
							
							
							
							
							
							
							Fixed 2 to 3 porting bug in pynche.ColorDB.
Added few tests for __truediv__, __floordiv__ and __matmul__. 
							
						 | 
						
							2015-03-12 22:01:30 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								7a27c97216
								
							
						 | 
						
							
							
								
								Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
							
							
							
							
							
							
							
							Used PyMem_New to check overflow. 
							
						 | 
						
							2015-02-03 01:50:31 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								b5e8e57555
								
							
						 | 
						
							
							
								
								Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
							
							
							
							
							
							
							
							Used PyMem_New to check overflow. 
							
						 | 
						
							2015-02-03 01:35:10 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								dee948b359
								
							
						 | 
						
							
							
								
								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
								
							 
						 | 
						
							
							
							
							
								
							
							
								5d0bb852a2
								
							
						 | 
						
							
							
								
								merge 3.4 (#23364, #23363)
							
							
							
							
							
						 | 
						
							2015-02-01 21:36:01 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								c468b537cd
								
							
						 | 
						
							
							
								
								merge 3.3 (#23364, #23363)
							
							
							
							
							
						 | 
						
							2015-02-01 21:35:34 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								0eaabf1c05
								
							
						 | 
						
							
							
								
								check for overflows in permutations() and product() (closes #23363, closes #23364)
							
							
							
							
							
						 | 
						
							2015-02-01 21:34:07 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								38d9772622
								
							
						 | 
						
							
							
								
								merge 3.4 (#23365)
							
							
							
							
							
						 | 
						
							2015-02-01 21:11:54 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								f635dc32b1
								
							
						 | 
						
							
							
								
								merge 3.3 (#23365)
							
							
							
							
							
						 | 
						
							2015-02-01 21:11:39 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								6f082297b2
								
							
						 | 
						
							
							
								
								check for overflow in combinations_with_replacement (closes #23365)
							
							
							
							
							
						 | 
						
							2015-02-01 21:10:47 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								4db56d5002
								
							
						 | 
						
							
							
								
								merge 3.4 (#23366)
							
							
							
							
							
						 | 
						
							2015-02-01 21:01:43 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								819c4e9bc4
								
							
						 | 
						
							
							
								
								merge 3.3 (#23366)
							
							
							
							
							
						 | 
						
							2015-02-01 21:00:15 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								4b40eeb339
								
							
						 | 
						
							
							
								
								detect overflow in combinations (closes #23366)
							
							
							
							
							
						 | 
						
							2015-02-01 20:59:00 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								65ee4674e2
								
							
						 | 
						
							
							
								
								Issue #22777: Test pickling with all protocols.
							
							
							
							
							
						 | 
						
							2014-12-15 14:06:02 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								bad1257c96
								
							
						 | 
						
							
							
								
								Issue #22777: Test pickling with all protocols.
							
							
							
							
							
						 | 
						
							2014-12-15 14:03:42 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								bb6c0aaebf
								
							
						 | 
						
							
							
								
								PEP 479:  Use the return-keyword instead of raising StopIteration inside a generators.
							
							
							
							
							
						 | 
						
							2014-11-22 22:14:41 -08:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Benjamin Peterson
								
							 
						 | 
						
							
							
							
							
								
							
							
								8e16351545
								
							
						 | 
						
							
							
								
								allow test to work on implementations not using ref-counting (closes #22265)
							
							
							
							
							
						 | 
						
							2014-08-24 18:07:28 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								97d3555029
								
							
						 | 
						
							
							
								
								Issue #19145:  Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
							
							
							
							
							
							
							
							(Patch contributed by Vajrasky Kok.) 
							
						 | 
						
							2014-06-24 21:36:58 -07:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Antoine Pitrou
								
							 
						 | 
						
							
							
							
							
								
							
							
								26f82efe59
								
							
						 | 
						
							
							
								
								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
								
							 
						 | 
						
							
							
							
							
								
							
							
								dca807b8f5
								
							
						 | 
						
							
							
								
								Issue #21346: Fix typo, make message consistent in test_itertools.
							
							
							
							
							
							
							
							Pointed out by Brian Kearns. 
							
						 | 
						
							2014-04-24 13:22:05 -05:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Raymond Hettinger
								
							 
						 | 
						
							
							
							
							
								
							
							
								31b26f637a
								
							
						 | 
						
							
							
								
								Issue #18652:  Add an itertools recipe for first_true()
							
							
							
							
							
						 | 
						
							2014-04-02 03:16:42 -07:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								2dae92a807
								
							
						 | 
						
							
							
								
								Issue #15475: Add __sizeof__ implementations for itertools objects.
							
							
							
							
							
						 | 
						
							2013-12-09 17:45:57 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								46e1ce214b
								
							
						 | 
						
							
							
								
								Issue #18783: Removed existing mentions of Python long type in docstrings,
							
							
							
							
							
							
							
							error messages and comments. 
							
						 | 
						
							2013-08-27 20:17:03 +03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								9594942716
								
							
						 | 
						
							
							
								
								Issue #18783: Removed existing mentions of Python long type in docstrings,
							
							
							
							
							
							
							
							error messages and comments. 
							
						 | 
						
							2013-08-27 19:40:23 +03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								ee57f159af
								
							
						 | 
						
							
							
								
								Revert a premature patch for issue #14010 (changeset 846bd418aee5).
							
							
							
							
							
						 | 
						
							2013-04-06 22:55:12 +03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								278d03bd66
								
							
						 | 
						
							
							
								
								Revert a premature patch for issue #14010 (changeset aaaf36026511).
							
							
							
							
							
						 | 
						
							2013-04-06 22:52:34 +03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								aac81e2780
								
							
						 | 
						
							
							
								
								Issue #14010: Fix a crash when iterating or deleting deeply nested filters
							
							
							
							
							
							
							
							(builting and in itertools module, i.e. map(), itertools.chain(), etc). 
							
						 | 
						
							2013-04-06 21:20:30 +03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								e8f706eda7
								
							
						 | 
						
							
							
								
								Issue #14010: Fix a crash when iterating or deleting deeply nested filters
							
							
							
							
							
							
							
							(builting and in itertools module, i.e. map(), itertools.chain(), etc). 
							
						 | 
						
							2013-04-06 21:14:43 +03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								dd399af438
								
							
						 | 
						
							
							
								
								Optimize the test for issue #13454.
							
							
							
							
							
							
							
							Now it requires almost 4x less memory and is almost 2x faster. 
							
						 | 
						
							2013-01-26 11:54:27 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								1c7181d764
								
							
						 | 
						
							
							
								
								Optimize the test for issue #13454.
							
							
							
							
							
							
							
							Now it requires almost 4x less memory and is almost 2x faster. 
							
						 | 
						
							2013-01-26 11:53:17 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								5bb893c44b
								
							
						 | 
						
							
							
								
								Optimize the test for issue #13454.
							
							
							
							
							
							
							
							Now it requires almost 4x less memory and is almost 2x faster. 
							
						 | 
						
							2013-01-26 11:52:06 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								c5dadcf2fd
								
							
						 | 
						
							
							
								
								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:26:55 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								339e91d4cb
								
							
						 | 
						
							
							
								
								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:24:47 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Serhiy Storchaka
								
							 
						 | 
						
							
							
							
							
								
							
							
								a3e9128aba
								
							
						 | 
						
							
							
								
								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:19:31 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Armin Ronacher
								
							 
						 | 
						
							
							
							
							
								
							
							
								aa9a79d279
								
							
						 | 
						
							
							
								
								Issue #16148: implemented PEP 424
							
							
							
							
							
						 | 
						
							2012-10-06 14:03:24 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Kristján Valur Jónsson
								
							 
						 | 
						
							
							
							
							
								
							
							
								31668b8f7a
								
							
						 | 
						
							
							
								
								Issue #14288: Serialization support for builtin iterators.
							
							
							
							
							
						 | 
						
							2012-04-03 10:49:41 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 |