Dong-hee Na
d905df766c
bpo-39573: Add Py_IS_TYPE() function (GH-18488)
Co-Author: Neil Schemenauer <nas-github@arctrix.com>
6 years ago
Serhiy Storchaka
34d0ac8027
Issue #29058 : All stable API extensions added after Python 3.2 are now
available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of
the minimum Python version supporting this API.
9 years ago
Stefan Krah
fa5d6a5ff3
Issue #22668 : Ensure that format strings survive slicing after casting.
11 years ago
Richard Oudkerk
3e0a1eb889
Issue #14930 : Make memoryview objects weakrefable.
14 years ago
Stefan Krah
9a2d99e28a
- Issue #10181 : New memoryview implementation fixes multiple ownership
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.
14 years ago
Antoine Pitrou
ce4a9da705
Issue #13411 : memoryview objects are now hashable when the underlying object is hashable.
14 years ago
Martin v. Löwis
c83bc3c1fb
Remove buffer API from stable ABI for now, see #10181 .
15 years ago
Martin v. Löwis
4d0d471a80
Merge branches/pep-0384.
15 years ago
Antoine Pitrou
aeb6ceead7
Issue #10293 : Remove obsolete field in the PyMemoryView structure,
unused undocumented value PyBUF_SHADOW, and strangely-looking code in
PyMemoryView_GetContiguous.
15 years ago
Antoine Pitrou
789be0c0a0
Issue #2396 : backport the memoryview object.
17 years ago
Antoine Pitrou
35b7e837ab
Issue #4822 : fix messy indentation in memoryobject.c/.h, before we may backport it to trunk.
Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson.
17 years ago
Antoine Pitrou
ee58fa484e
#3560 : cleanup C memoryview API
18 years ago
Christian Heimes
90aa7646af
#1629 : Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
18 years ago
Travis E. Oliphant
fe9bed02e4
Fix problems with memoryview object. There is still more to do to finish PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
19 years ago
Travis E. Oliphant
8ae62b6094
Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object.
19 years ago
Sean Reifscheider
54cf12b625
Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE.
19 years ago
Travis E. Oliphant
b99f762f10
Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118.
19 years ago