Commits

Show all
Author Commit Message Labels Comments Date
Stefan Krah
Remove unused variable.
Branches
memoryview
Stefan Krah
Merge changes from default.
Branches
memoryview
Stefan Krah
Make mbuf_copy_format a static function.
Branches
memoryview
Stefan Krah
1) Remove "not implemented" passage in the tobytes() section. 2) State explicitly that suboffsets as purely informational.
Branches
memoryview
Stefan Krah
Rewrite paragraph about format restrictions.
Branches
memoryview
Stefan Krah
Change array order variable from 'fortran' to 'order'.
Branches
memoryview
Stefan Krah
Issue #13411: Add hashable memoryviews.
Branches
memoryview
Stefan Krah
Merge changes from default.
Branches
memoryview
Stefan Krah
1) cmp_structure: Allow leading '@' in format comparison. 2) memory_item: Add comment. 3) is_multislice: Re-use size. 4) memory_subscript: a) Reformat comment. b) Rename variable. c) Remove unnecessary else clause. 5) memory_ass_sub: a) Use consistent form for return value check. b) Optimize init_len() for 1D. 6) memory_richcompare: a) Use consistent style for labels and return value check. b) Use cmp_structure() to…
Branches
memoryview
Stefan Krah
cast_to_1D() now always sets ValueError.
Branches
memoryview
Stefan Krah
1) Set the error messages in cast_to_1D() instead of in get_native_fmtchar(). 2) Since len is now calculated in copy_shape, use the value directly. 3) Consistent style.
Branches
memoryview
Stefan Krah
Change memoryview 'len' attribute to 'nbytes'. 'len' was new in version 3.3, so no deprecation is needed.
Branches
memoryview
Stefan Krah
Additional suppressions required for non-debug build.
Branches
memoryview
Stefan Krah
Use 'order' instead of 'fort'.
Branches
memoryview
Stefan Krah
1) Fix PyMemoryView_GetContiguous(). The following major changes were necessary: a) Add capability to the managed buffer to store and release a copy of the format of the original exporter. The original exporter may disappear if a new bytes object is used as the underlying object for a contiguous read-only copy. b) In the latter case, also copy shape, strides and suboffsets from the original object. Otherwise the new memoryview would use the incorrect …
Branches
memoryview
Stefan Krah
Use (implicitly documented) fact that PyLong_AsVoidPtr() will always return NULL on error. See also issue #13522.
Branches
memoryview
Stefan Krah
Use negative return value to detect an error.
Branches
memoryview
Stefan Krah
More whitespace.
Branches
memoryview
Stefan Krah
Whitespace.
Branches
memoryview
Stefan Krah
Whitespace and comments.
Branches
memoryview
Stefan Krah
Use parentheses consistently.
Branches
memoryview
Stefan Krah
Remove redundant break statements.
Branches
memoryview
Stefan Krah
Drop single instance of casting the return value of PyErr_Format().
Branches
memoryview
Stefan Krah
Include the object name in the error message.
Branches
memoryview
Stefan Krah
Replace tests that fail due to issue #13072.
Branches
memoryview
Stefan Krah
Rename mv_alloc() to memory_alloc().
Branches
memoryview
Stefan Krah
Fix grammar in comment.
Branches
memoryview
Stefan Krah
Add parameter definitions to the cast() method.
Branches
memoryview
Stefan Krah
Fix grammar.
Branches
memoryview
Stefan Krah
Two examples are sufficient.
Branches
memoryview
  1. Prev
  2. Next