summaryrefslogtreecommitdiffstats
path: root/Include/memoryobject.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14930: Make memoryview objects weakrefable.Richard Oudkerk2012-05-281-0/+1
|
* - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-251-45/+39
| | | | | | | | | | | | | | | | | | 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 Pitrou2011-11-211-0/+1
| | | | is hashable.
* Remove buffer API from stable ABI for now, see #10181.Martin v. Löwis2011-01-061-0/+2
|
* Merge branches/pep-0384.Martin v. Löwis2010-12-031-1/+4
|
* Issue #10293: Remove obsolete field in the PyMemoryView structure,Antoine Pitrou2010-11-041-1/+0
| | | | | unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous.
* Issue #4822: fix messy indentation in memoryobject.c/.h, before we may ↵Antoine Pitrou2009-01-031-35/+35
| | | | | | backport it to trunk. Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson.
* #3560: cleanup C memoryview APIAntoine Pitrou2008-08-191-13/+19
|
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes2007-12-191-1/+1
|
* Fix problems with memoryview object. There is still more to do to finish ↵Travis E. Oliphant2007-10-121-30/+31
| | | | PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
* Change PyBuffer to Py_buffer to be consistent with other non-object ↵Travis E. Oliphant2007-09-231-2/+2
| | | | structures like Py_complex. Add some more functionality to the memoryview object.
* Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE.Sean Reifscheider2007-09-171-3/+3
|
* Merged in py3k-buffer branch to main line. All objects now use the buffer ↵Travis E. Oliphant2007-08-181-0/+67
protocol in PEP 3118.