summaryrefslogtreecommitdiff
path: root/Include/memoryobject.h
AgeCommit message (Collapse)AuthorLines
2016-12-27Issue #29058: All stable API extensions added after Python 3.2 are nowSerhiy Storchaka-0/+2
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python version supporting this API.
2015-01-29Closes #22668: Merge from 3.4.Stefan Krah-4/+0
2015-01-29Issue #22668: Ensure that format strings survive slicing after casting.Stefan Krah-2/+2
2012-05-28Issue #14930: Make memoryview objects weakrefable.Richard Oudkerk-0/+1
2012-02-25- Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah-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.
2011-11-21Issue #13411: memoryview objects are now hashable when the underlying object ↵Antoine Pitrou-0/+1
is hashable.
2011-01-06Remove buffer API from stable ABI for now, see #10181.Martin v. Löwis-0/+2
2010-12-03Merge branches/pep-0384.Martin v. Löwis-1/+4
2010-11-04Issue #10293: Remove obsolete field in the PyMemoryView structure,Antoine Pitrou-1/+0
unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous.
2009-01-03Issue #4822: fix messy indentation in memoryobject.c/.h, before we may ↵Antoine Pitrou-35/+35
backport it to trunk. Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson.
2008-08-19#3560: cleanup C memoryview APIAntoine Pitrou-13/+19
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes-1/+1
2007-10-12Fix problems with memoryview object. There is still more to do to finish ↵Travis E. Oliphant-30/+31
PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
2007-09-23Change PyBuffer to Py_buffer to be consistent with other non-object ↵Travis E. Oliphant-2/+2
structures like Py_complex. Add some more functionality to the memoryview object.
2007-09-17Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE.Sean Reifscheider-3/+3
2007-08-18Merged in py3k-buffer branch to main line. All objects now use the buffer ↵Travis E. Oliphant-0/+67
protocol in PEP 3118.