aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_array.py
Commit message (Collapse)AuthorAge
* Fix typos in comments and docstring (#122720)Xie Yanbo2024-08-07
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-121905: Consistently use "floating-point" instead of "floating point" ↵Serhiy Storchaka2024-07-19
| | | | (GH-121907)
* gh-114894: add array.array.clear() method (#114919)Mike Zimin2024-02-10
| | | | | 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>
* gh-106162: array: suppress warning in test_array (#106404)Inada Naoki2023-07-05
| | | array: suppress warning in test_array
* gh-106162: fix test_array modifies warning filter (#106181)Inada Naoki2023-06-28
|
* gh-80480: Emit DeprecationWarning for array's 'u' type code (#95760)Hugo van Kemenade2023-06-11
|
* gh-80480: array: Add 'w' typecode. (#105242)Inada Naoki2023-06-04
|
* bpo-45668: Fix PGO tests without test extensions (GH-29315)Christian Heimes2021-11-01
|
* bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005)Serhiy Storchaka2021-08-29
|
* bpo-43988: Use check disallow instantiation helper (GH-26392)Erlend Egeberg Aasland2021-05-27
|
* bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757)Erlend Egeberg Aasland2021-05-26
|
* bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748)Erlend Egeberg Aasland2021-04-30
| | | | | | | | | | | | | | | | | | | | | 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
* bpo-43908: Make array.array type immutable (GH-25696)Erlend Egeberg Aasland2021-04-29
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-31956: Add start and stop parameters to array.index() (GH-25059)Zackery Spytz2021-04-03
| | | Co-Authored-By: Anders Lorentsen <Phaqui@gmail.com>
* Fix typo in test_array.py (GH-23189)Ikko Ashimine2020-11-10
|
* bpo-29727: Register array.array as a MutableSequence (GH-21338)Pablo Galindo2020-07-05
|
* bpo-40275: Use new test.support helper submodules in tests (GH-20849)Hai Shi2020-06-25
|
* bpo-40443: Remove unused imports in tests (GH-19804)Victor Stinner2020-04-30
|
* bpo-38916: array.array: remove fromstring() and tostring() (GH-17487)Victor Stinner2019-12-09
| | | | array.array: Remove tostring() and fromstring() methods. They were aliases to tobytes() and frombytes(), deprecated since Python 3.2.
* bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375)Zackery Spytz2019-05-17
| | | | | | | 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>
* bpo-36285: Fix integer overflow in the array module. (GH-12317)sth2019-03-20
|
* bpo-36048: Use __index__() instead of __int__() for implicit conversion if ↵Serhiy Storchaka2019-02-25
| | | | | | available. (GH-11952) Deprecate using the __int__() method in implicit conversions of Python numbers to C integers.
* Include the highest pickle protocol in a couple of tests. (GH-10735)Zackery Spytz2018-11-27
| | | | | test_reduce_ex() in test_array.py and test_reversevaluesiterator_pickling() in test_dict.py weren't using the highest pickle protocol.
* bpo-24700: Add a fast path for comparing array.array of equal type (#3009)Adrian Wielgosik2017-08-17
|
* bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570)orenmn2017-03-09
|
* Issue #27570: Merge null pointer fixes from 3.5Martin Panter2016-09-07
|\
| * Issue #27570: Avoid zero-length memcpy() calls with null source pointersMartin Panter2016-09-07
| |
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-24
| |
* | Issue #26492: Exhausted iterator of array.array now conforms with the behaviorSerhiy Storchaka2016-03-30
|/ | | | | of iterators of other mutable sequences: it lefts exhausted even if iterated array is extended.
* Issue #26015: Added new tests for pickling iterators of mutable sequences.Serhiy Storchaka2016-03-06
|
* Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()Stefan Krah2015-02-03
| | | | and array_buffer_getbuf().
* Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-15
|\
| * Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-15
| |
* | Issue #20152: Port the array module to Argument Clinic.Brett Cannon2014-10-10
|/
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-16
|\ | | | | | | | | | | | | 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.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-16
| | | | | | | | | | | | | | 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.
* | Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-08
|\|
| * Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-08
| |
* | Issue #3693: Fix array obscure error message when given a str.Alexandre Vassalotti2013-11-29
| |
* | Issue #19604: Use specific asserts in array tests.Serhiy Storchaka2013-11-17
|\|
| * Issue #19604: Use specific asserts in array tests.Serhiy Storchaka2013-11-17
| |
| * Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-03
| |
* | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-03
| |
* | (Merge 3.3) Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner2013-03-08
|\| | | | | | | Skip the test on Windows.
| * Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner2013-03-08
| | | | | | | | Skip the test on Windows.
* | (Merge 3.3) Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)Victor Stinner2013-02-26
|\|
| * Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)Victor Stinner2013-02-26
| |
* | (Merge 3.3) Issue #17223: array module: Fix a crasher when converting an arrayVictor Stinner2013-02-26
|\| | | | | | | | | containing invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
| * Issue #17223: array module: Fix a crasher when converting an array containingVictor Stinner2013-02-26
| | | | | | | | | | invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
* | #16888: merge with 3.3.Ezio Melotti2013-01-10
|\|