T. Wouters 
								
							 
						 
						
							
							
							
							
								
							
							
								5466d4af5f 
								
							 
						 
						
							
							
								
								bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. ( #889 )  
							
							... 
							
							
							
							Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled. 
							
						 
						
							2017-03-30 09:58:35 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8f0f205649 
								
							 
						 
						
							
							
								
								Issue  #28322 : Fixed possible crashes when unpickle itertools objects from  
							
							... 
							
							
							
							incorrect pickle data.  Based on patch by John Leitch. 
							
						 
						
							2016-10-02 09:13:14 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								85c3f268f4 
								
							 
						 
						
							
							
								
								Issue  #28322 : Fixed possible crashes when unpickle itertools objects from  
							
							... 
							
							
							
							incorrect pickle data.  Based on patch by John Leitch. 
							
						 
						
							2016-10-02 08:34:53 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8f9cafad3d 
								
							 
						 
						
							
							
								
								Issue  #28019 : itertools.count() no longer rounds non-integer step in range  
							
							... 
							
							
							
							between 1.0 and 2.0 to 1. 
							
						 
						
							2016-09-10 09:53:51 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8ddcf3abf7 
								
							 
						 
						
							
							
								
								Issue  #28019 : itertools.count() no longer rounds non-integer step in range  
							
							... 
							
							
							
							between 1.0 and 2.0 to 1. 
							
						 
						
							2016-09-10 09:49:24 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								f157982b2c 
								
							 
						 
						
							
							
								
								Issue  #27076 : More doc and comment spelling fixes for 3.6, by Ville Skyttä  
							
							
							
						 
						
							2016-05-26 06:03:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								c7f44aa99a 
								
							 
						 
						
							
							
								
								Issue  #23277 : Remove more unused sys and os imports.  
							
							
							
						 
						
							2016-04-24 13:25:01 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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