Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gh-133454: Reduce the number of threads in test_racing_getbuf_and_releasebuf ↵ | Serhiy Storchaka | 2025-05-23 |
| | | | | | (GH-133458) The original reproducer only used 10 threads. | ||
* | gh-127085: Add a test skip if multiprocessing isn't available (#128019) | Russell Keith-Magee | 2024-12-17 |
| | | | Add a test skip if multiprocessing isn't available. | ||
* | gh-127085: fix some data races in memoryview in free-threading (#127412) | Edward Xu | 2024-12-17 |
| | |||
* | gh-125420: implement `Sequence.count` API on `memoryview` objects (#125443) | Bénédikt Tran | 2024-12-10 |
| | |||
* | gh-125420: implement `Sequence.index` API on `memoryview` objects (#125446) | Bénédikt Tran | 2024-12-09 |
| | |||
* | gh-77894: Fix a crash when the GC breaks a loop containing a memoryview ↵ | Serhiy Storchaka | 2024-09-11 |
| | | | | | | | (GH-123898) Now a memoryview object can only be cleared if there are no buffers that refer it. | ||
* | gh-90751: memoryview now supports half-float (#96738) | Dong-hee Na | 2022-09-10 |
| | | | | Co-authored-by: Antoine Pitrou <antoine@python.org> | ||
* | gh-92888: Fix memoryview bad `__index__` use after free (GH-92946) | Ken Jin | 2022-06-17 |
| | | | | Co-authored-by: chilaxan <35645806+chilaxan@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <3659035+serhiy-storchaka@users.noreply.github.com> | ||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21169) | Hai Shi | 2020-06-30 |
| | |||
* | bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466) | Antoine Pitrou | 2018-04-14 |
| | |||
* | Issue #22995: Instances of extension types with a state that aren't | Serhiy Storchaka | 2015-12-25 |
| | | | | | | subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview. | ||
* | Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers. | Stefan Krah | 2015-11-10 |
| | |||
* | Issue #15944: memoryview: Allow arbitrary formats when casting to bytes. | Stefan Krah | 2015-08-08 |
| | | | | Original patch by Martin Panter. | ||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 |
| | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||
* | Issue #22668: Merge from 3.4. | Stefan Krah | 2015-01-29 |
|\ | |||
| * | Issue #22668: Remove endianness assumption in test. | Stefan Krah | 2015-01-29 |
| | | |||
* | | Whitespace. | Stefan Krah | 2015-01-29 |
|/ | |||
* | Issue #22668: Ensure that format strings survive slicing after casting. | Stefan Krah | 2015-01-29 |
| | |||
* | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 |
|\ | |||
| * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 |
| | | |||
* | | Close #19078: memoryview now supports reversed | Nick Coghlan | 2013-10-02 |
|/ | | | | Patch by Claudiu Popa | ||
* | Fix out-of-date comment in test_memoryview. | Stefan Krah | 2012-08-19 |
| | |||
* | Issue #14930: Make memoryview objects weakrefable. | Richard Oudkerk | 2012-05-28 |
| | |||
* | - Issue #10181: New memoryview implementation fixes multiple ownership | Stefan Krah | 2012-02-25 |
| | | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory. | ||
* | Issue #13411: memoryview objects are now hashable when the underlying object ↵ | Antoine Pitrou | 2011-11-21 |
| | | | | is hashable. | ||
* | Issue #10451: memoryview objects could allow to mutate a readable buffer. | Antoine Pitrou | 2011-01-18 |
| | | | | Initial patch by Ross Lagerwall. | ||
* | #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ↵ | Ezio Melotti | 2010-12-01 |
| | | | | assertRaisesRegex. | ||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 |
| | |||
* | Issue #9757: memoryview objects get a release() method to release the | Antoine Pitrou | 2010-09-09 |
| | | | | | underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol. | ||
* | Issue #9737: Fix a crash when trying to delete a slice or an item from | Antoine Pitrou | 2010-09-01 |
| | | | | a memoryview object. | ||
* | Issue #8990: array.fromstring() and array.tostring() get renamed to | Antoine Pitrou | 2010-09-01 |
| | | | | | | frombytes() and tobytes(), respectively, to avoid confusion. Furthermore, array.frombytes(), array.extend() as well as the array.array() constructor now accept bytearray objects. Patch by Thomas Jollans. | ||
* | Merged revisions 77727 via svnmerge from | Ezio Melotti | 2010-01-24 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........ | ||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 |
| | |||
* | Issue 6329: Fix iteration for memoryviews. | Raymond Hettinger | 2009-06-23 |
| | |||
* | Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. | Antoine Pitrou | 2009-01-03 |
| | | | | | | | | Also fix len() to return number of items rather than length in bytes. I'm sorry it was not possible for me to work on this without reindenting a bit some stuff around. The indentation in memoryobject.c is a mess, I'll open a separate bug for it. | ||
* | Issue #4569: Interpreter crash when mutating a memoryview with an item size ↵ | Antoine Pitrou | 2008-12-07 |
| | | | | | | larger than 1. (together with a bit of reindenting) | ||
* | kill memoryview.size in favor of len(view) | Benjamin Peterson | 2008-09-10 |
| | | | | Reviewer: Antoine Pitrou #3827 | ||
* | #3712: The memoryview object had a reference leak and didn't support cyclic ↵ | Antoine Pitrou | 2008-09-01 |
| | | | | | | garbage collection. Reviewed by Benjamin Peterson. | ||
* | Issue #2394: implement more of the memoryview API. | Antoine Pitrou | 2008-08-19 |
| | |||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 |
| | |||
* | Fixed memoryview constructor. It allowed arbitrary keyword arguments. The ↵ | Christian Heimes | 2007-11-08 |
bug was found by mykhal from #python. I've also added a small test case in the new test_memoryview.py |