Sam Gross 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								75f38af781 
								
							 
						 
						
							
							
								
								Revert "gh-128942: make array module thread safe ( #128943 )" ( #130707 )  
							
							... 
							
							
							
							The change regressed performance on scimark benchmarks from the
pyperformance benchmark suite.
This reverts commit 8ba0d7bbc2 
							
						 
						
							2025-02-28 16:57:48 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tomasz Pytel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8ba0d7bbc2 
								
							 
						 
						
							
							
								
								gh-128942: make array module thread safe ( #128943 )  
							
							... 
							
							
							
							Co-authored-by: Kumar Aditya <kumaraditya@python.org> 
							
						 
						
							2025-02-27 14:00:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tomasz Pytel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4dade055f4 
								
							 
						 
						
							
							
								
								gh-128961: Fix exhausted array iterator crash in __setstate__() ( #128962 )  
							
							
							
						 
						
							2025-01-18 10:55:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Xie Yanbo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b6c80e21c7 
								
							 
						 
						
							
							
								
								Fix typos in comments and docstring ( #122720 )  
							
							... 
							
							
							
							Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 
							
						 
						
							2024-08-07 07:39:16 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1a0c7b9ba4 
								
							 
						 
						
							
							
								
								gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)  
							
							
							
						 
						
							2024-07-19 08:06:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mike Zimin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9d1a353230 
								
							 
						 
						
							
							
								
								gh-114894: add array.array.clear() method ( #114919 )  
							
							... 
							
							
							
							Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 
							
						 
						
							2024-02-10 07:59:46 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Inada Naoki 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8a4bba8b97 
								
							 
						 
						
							
							
								
								gh-106162: array: suppress warning in test_array ( #106404 )  
							
							... 
							
							
							
							array: suppress warning in test_array 
							
						 
						
							2023-07-05 02:02:49 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Inada Naoki 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a3dd8cce58 
								
							 
						 
						
							
							
								
								gh-106162: fix test_array modifies warning filter ( #106181 )  
							
							
							
						 
						
							2023-06-28 16:50:36 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hugo van Kemenade 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cc879481e2 
								
							 
						 
						
							
							
								
								gh-80480: Emit DeprecationWarning for array's 'u' type code ( #95760 )  
							
							
							
						 
						
							2023-06-11 03:17:35 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Inada Naoki 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1237fb6a4b 
								
							 
						 
						
							
							
								
								gh-80480: array: Add 'w' typecode. ( #105242 )  
							
							
							
						 
						
							2023-06-04 16:45:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e73283a20f 
								
							 
						 
						
							
							
								
								bpo-45668: Fix PGO tests without test extensions (GH-29315)  
							
							
							
						 
						
							2021-11-01 11:14:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2a8127cafe 
								
							 
						 
						
							
							
								
								bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005)  
							
							
							
						 
						
							2021-08-29 14:04:40 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fbff5387c3 
								
							 
						 
						
							
							
								
								bpo-43988: Use check disallow instantiation helper (GH-26392)  
							
							
							
						 
						
							2021-05-27 08:43:52 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4f725261c6 
								
							 
						 
						
							
							
								
								bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757)  
							
							
							
						 
						
							2021-05-26 16:15:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9746cda705 
								
							 
						 
						
							
							
								
								bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748)  
							
							... 
							
							
							
							Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to the following types:
* _dbm.dbm
* _gdbm.gdbm
* _multibytecodec.MultibyteCodec
* _sre..SRE_Scanner
* _thread._localdummy
* _thread.lock
* _winapi.Overlapped
* array.arrayiterator
* functools.KeyWrapper
* functools._lru_list_elem
* pyexpat.xmlparser
* re.Match
* re.Pattern
* unicodedata.UCD
* zlib.Compress
* zlib.Decompress 
							
						 
						
							2021-04-30 16:04:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c6ad03fddf 
								
							 
						 
						
							
							
								
								bpo-43908: Make array.array type immutable (GH-25696)  
							
							... 
							
							
							
							Co-authored-by: Victor Stinner <vstinner@python.org> 
							
						 
						
							2021-04-29 08:47:48 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zackery Spytz 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								afd1265058 
								
							 
						 
						
							
							
								
								bpo-31956: Add start and stop parameters to array.index() (GH-25059)  
							
							... 
							
							
							
							Co-Authored-By: Anders Lorentsen <Phaqui@gmail.com> 
							
						 
						
							2021-04-03 00:28:35 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ikko Ashimine 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9303b9ecc3 
								
							 
						 
						
							
							
								
								Fix typo in test_array.py (GH-23189)  
							
							
							
						 
						
							2020-11-10 18:12:36 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e51dd9dad6 
								
							 
						 
						
							
							
								
								bpo-29727: Register array.array as a MutableSequence (GH-21338)  
							
							
							
						 
						
							2020-07-05 22:43:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hai Shi 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f7ba40b505 
								
							 
						 
						
							
							
								
								bpo-40275: Use new test.support helper submodules in tests (GH-20849)  
							
							
							
						 
						
							2020-06-25 12:38:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b1e11c31c5 
								
							 
						 
						
							
							
								
								bpo-40443: Remove unused imports in tests (GH-19804)  
							
							
							
						 
						
							2020-04-30 02:21:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0131aba5ae 
								
							 
						 
						
							
							
								
								bpo-38916: array.array: remove fromstring() and tostring() (GH-17487)  
							
							... 
							
							
							
							array.array: Remove tostring() and fromstring() methods.  They were
aliases to tobytes() and frombytes(), deprecated since Python 3.2. 
							
						 
						
							2019-12-09 14:09:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zackery Spytz 
								
							 
						 
						
							
							
							
							
								
							
							
								14514d9084 
								
							 
						 
						
							
							
								
								bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375)  
							
							... 
							
							
							
							The final addition (cur += step) may overflow, so use size_t for "cur".
"cur" is always positive (even for negative steps), so it is safe to use
size_t here.
Co-Authored-By: Martin Panter <vadmium+py@gmail.com> 
							
						 
						
							2019-05-17 10:13:03 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sth 
								
							 
						 
						
							
							
							
							
								
							
							
								aa3ecb8041 
								
							 
						 
						
							
							
								
								bpo-36285: Fix integer overflow in the array module. (GH-12317)  
							
							
							
						 
						
							2019-03-20 21:49:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6a44f6eef3 
								
							 
						 
						
							
							
								
								bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952)  
							
							... 
							
							
							
							Deprecate using the __int__() method in implicit conversions of Python
numbers to C integers. 
							
						 
						
							2019-02-25 17:57:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zackery Spytz 
								
							 
						 
						
							
							
							
							
								
							
							
								d1cbc6f8a0 
								
							 
						 
						
							
							
								
								Include the highest pickle protocol in a couple of tests. (GH-10735)  
							
							... 
							
							
							
							test_reduce_ex() in test_array.py and
test_reversevaluesiterator_pickling() in test_dict.py weren't using
the highest pickle protocol. 
							
						 
						
							2018-11-27 07:40:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Adrian Wielgosik 
								
							 
						 
						
							
							
							
							
								
							
							
								7c17e2304b 
								
							 
						 
						
							
							
								
								bpo-24700: Add a fast path for comparing array.array of equal type ( #3009 )  
							
							
							
						 
						
							2017-08-17 14:46:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									orenmn 
								
							 
						 
						
							
							
							
							
								
							
							
								964281af59 
								
							 
						 
						
							
							
								
								bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements ( #570 )  
							
							
							
						 
						
							2017-03-09 11:35:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								1c748f3830 
								
							 
						 
						
							
							
								
								Issue  #27570 : Merge null pointer fixes from 3.5  
							
							
							
						 
						
							2016-09-07 23:31:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								be8da9c990 
								
							 
						 
						
							
							
								
								Issue  #27570 : Avoid zero-length memcpy() calls with null source pointers  
							
							
							
						 
						
							2016-09-07 11:04:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								e437a10d15 
								
							 
						 
						
							
							
								
								Issue  #23277 : Remove unused imports in tests.  
							
							
							
						 
						
							2016-04-24 21:41:02 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								ab0d198c7a 
								
							 
						 
						
							
							
								
								Issue  #26492 : Exhausted iterator of array.array now conforms with the behavior  
							
							... 
							
							
							
							of iterators of other mutable sequences: it lefts exhausted even if iterated
array is extended. 
							
						 
						
							2016-03-30 21:11:16 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								aabafe7bc2 
								
							 
						 
						
							
							
								
								Issue  #26015 : Added new tests for pickling iterators of mutable sequences.  
							
							
							
						 
						
							2016-03-06 14:10:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Krah 
								
							 
						 
						
							
							
							
							
								
							
							
								650c1e818d 
								
							 
						 
						
							
							
								
								Issue  #14203 : Remove obsolete support for view==NULL in bytesiobuf_getbuffer()  
							
							... 
							
							
							
							and array_buffer_getbuf(). 
							
						 
						
							2015-02-03 21:43:23 +01: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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								1eb32c2045 
								
							 
						 
						
							
							
								
								Issue  #20152 : Port the array module to Argument Clinic.  
							
							
							
						 
						
							2014-10-10 16:26:45 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8f8ec92de8 
								
							 
						 
						
							
							
								
								Issue  #19936 : Added executable bits or shebang lines to Python scripts which  
							
							... 
							
							
							
							requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.  Fixed
shebang lines in the unittestgui and checkpip scripts. 
							
						 
						
							2014-01-16 17:33:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								b992a0e102 
								
							 
						 
						
							
							
								
								Issue  #19936 : Added executable bits or shebang lines to Python scripts which  
							
							... 
							
							
							
							requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.  Fixed
shebang line to use python3 executable in the unittestgui script. 
							
						 
						
							2014-01-16 17:15:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								101d9e7250 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:44:27 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								9fe6d86709 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:20:35 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alexandre Vassalotti 
								
							 
						 
						
							
							
							
							
								
							
							
								9730e33535 
								
							 
						 
						
							
							
								
								Issue  #3693 : Fix array obscure error message when given a str.  
							
							
							
						 
						
							2013-11-29 20:47:15 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								4725dc3ff4 
								
							 
						 
						
							
							
								
								Issue  #19604 : Use specific asserts in array tests.  
							
							
							
						 
						
							2013-11-17 00:45:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								91b3e77a6a 
								
							 
						 
						
							
							
								
								Issue  #19604 : Use specific asserts in array tests.  
							
							
							
						 
						
							2013-11-17 00:45:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								43767638a9 
								
							 
						 
						
							
							
								
								Issue  #18702 : All skipped tests now reported as skipped.  
							
							
							
						 
						
							2013-11-03 21:31:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								7908068627 
								
							 
						 
						
							
							
								
								Issue  #18702 : All skipped tests now reported as skipped.  
							
							
							
						 
						
							2013-11-03 21:31:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								763edc1c6a 
								
							 
						 
						
							
							
								
								(Merge 3.3) Issue  #17223 : the test is specific to 32-bit wchar_t type  
							
							... 
							
							
							
							Skip the test on Windows. 
							
						 
						
							2013-03-08 02:33:44 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								29c0034ff9 
								
							 
						 
						
							
							
								
								Issue  #17223 : the test is specific to 32-bit wchar_t type  
							
							... 
							
							
							
							Skip the test on Windows. 
							
						 
						
							2013-03-08 02:33:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								742c5961dd 
								
							 
						 
						
							
							
								
								(Merge 3.3) Issue  #17223 : Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)  
							
							
							
						 
						
							2013-02-26 22:52:25 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								c472c5d7bd 
								
							 
						 
						
							
							
								
								Issue  #17223 : Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)  
							
							
							
						 
						
							2013-02-26 22:52:11 +01:00