| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
is hashable.
|
| | |
|
| | |
|
| |
|
|
|
| |
unused undocumented value PyBUF_SHADOW, and strangely-looking code in
PyMemoryView_GetContiguous.
|
| |
|
|
|
|
| |
backport it to trunk.
Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson.
|
| | |
|
| | |
|
| |
|
|
| |
PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
|
| |
|
|
| |
structures like Py_complex. Add some more functionality to the memoryview object.
|
| | |
|
|
|
protocol in PEP 3118.
|