summaryrefslogtreecommitdiffstats
path: root/Modules/_testbuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14181: Preserve backwards compatibility for getbufferprocs that a) doStefan Krah2012-03-051-14/+15
| | | | | not adhere to the new documentation and b) manage to clobber view->obj before returning failure.
* Issue #14181: Test creating memoryviews from a static exporter with bothStefan Krah2012-03-051-1/+125
| | | | view.obj==NULL and view.obj==base.
* Issue #14181: Allow memoryview construction from an object that uses theStefan Krah2012-03-051-10/+15
| | | | getbuffer redirection scheme.
* - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-251-0/+2683
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.