Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |