Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40275: Use new test.support helper submodules in tests (GH-21169) | Hai Shi | 2020-06-30 | 1 | -1/+3 |
| | |||||
* | bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466) | Antoine Pitrou | 2018-04-14 | 1 | -0/+11 |
| | |||||
* | Issue #22995: Instances of extension types with a state that aren't | Serhiy Storchaka | 2015-12-25 | 1 | -0/+13 |
| | | | | | | 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 | 1 | -0/+7 |
| | |||||
* | Issue #15944: memoryview: Allow arbitrary formats when casting to bytes. | Stefan Krah | 2015-08-08 | 1 | -0/+21 |
| | | | | Original patch by Martin Panter. | ||||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -4/+1 |
| | | | | | | | 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 | 1 | -1/+3 |
|\ | |||||
| * | Issue #22668: Remove endianness assumption in test. | Stefan Krah | 2015-01-29 | 1 | -3/+5 |
| | | |||||
* | | Whitespace. | Stefan Krah | 2015-01-29 | 1 | -2/+2 |
|/ | |||||
* | Issue #22668: Ensure that format strings survive slicing after casting. | Stefan Krah | 2015-01-29 | 1 | -0/+19 |
| | |||||
* | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -7/+7 |
|\ | |||||
| * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -7/+7 |
| | | |||||
* | | Close #19078: memoryview now supports reversed | Nick Coghlan | 2013-10-02 | 1 | -0/+9 |
|/ | | | | Patch by Claudiu Popa | ||||
* | Fix out-of-date comment in test_memoryview. | Stefan Krah | 2012-08-19 | 1 | -1/+2 |
| | |||||
* | Issue #14930: Make memoryview objects weakrefable. | Richard Oudkerk | 2012-05-28 | 1 | -0/+15 |
| | |||||
* | - Issue #10181: New memoryview implementation fixes multiple ownership | Stefan Krah | 2012-02-25 | 1 | -12/+38 |
| | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+27 |
| | | | | is hashable. | ||||
* | Issue #10451: memoryview objects could allow to mutate a readable buffer. | Antoine Pitrou | 2011-01-18 | 1 | -0/+12 |
| | | | | Initial patch by Ross Lagerwall. | ||||
* | #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ↵ | Ezio Melotti | 2010-12-01 | 1 | -1/+1 |
| | | | | assertRaisesRegex. | ||||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 1 | -25/+25 |
| | |||||
* | Issue #9757: memoryview objects get a release() method to release the | Antoine Pitrou | 2010-09-09 | 1 | -0/+45 |
| | | | | | 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 | 1 | -0/+9 |
| | | | | a memoryview object. | ||||
* | Issue #8990: array.fromstring() and array.tostring() get renamed to | Antoine Pitrou | 2010-09-01 | 1 | -1/+1 |
| | | | | | | 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 | 1 | -2/+2 |
| | | | | | | | | | | 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 | 1 | -5/+5 |
| | |||||
* | Issue 6329: Fix iteration for memoryviews. | Raymond Hettinger | 2009-06-23 | 1 | -0/+6 |
| | |||||
* | Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. | Antoine Pitrou | 2009-01-03 | 1 | -133/+207 |
| | | | | | | | | 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 | 1 | -0/+9 |
| | | | | | | larger than 1. (together with a bit of reindenting) | ||||
* | kill memoryview.size in favor of len(view) | Benjamin Peterson | 2008-09-10 | 1 | -1/+1 |
| | | | | Reviewer: Antoine Pitrou #3827 | ||||
* | #3712: The memoryview object had a reference leak and didn't support cyclic ↵ | Antoine Pitrou | 2008-09-01 | 1 | -0/+32 |
| | | | | | | garbage collection. Reviewed by Benjamin Peterson. | ||||
* | Issue #2394: implement more of the memoryview API. | Antoine Pitrou | 2008-08-19 | 1 | -2/+190 |
| | |||||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | Fixed memoryview constructor. It allowed arbitrary keyword arguments. The ↵ | Christian Heimes | 2007-11-08 | 1 | -0/+25 |
bug was found by mykhal from #python. I've also added a small test case in the new test_memoryview.py |