Vladimír Vondruš
4fe21deaaf
python: document and test error cases in "fancy" strided view APIs.
...
Changed those to be IndexError instead of ValueError, since those are
indexing dimensions. Plus added a new check for broadcasted dimension
size as otherwise it'd blow up on a C++ assert.
3 years ago
Vladimír Vondruš
2295f43873
Updated copyright year.
4 years ago
Aaron Gokaslan
31785426d8
Typo fixing
5 years ago
Vladimír Vondruš
84f9bb2a9d
Updated copyright year.
5 years ago
Vladimír Vondruš
be5ffdd916
doc: switch to explicit :ref: as default roles don't work well.
6 years ago
Vladimír Vondruš
b1d45fc85a
Updated copyright year.
6 years ago
Vladimír Vondruš
2eebb45557
python: don't keep a reference to owner for empty array views.
...
We don't need to reference anything from it anyway.
7 years ago
Vladimír Vondruš
c40627c96c
python: better name [Strided]ArrayView memory owner property.
...
Mirroring Python's obj is not good, as the name is absolutely not
describing what it is.
7 years ago
Vladimír Vondruš
ce3d2564fd
python/corrade: make our own buffer protocol for array views.
...
THe one from pybind11 is severely limited and allocation-happy. Lots of
tech debt and TODOs resolved now, yay.
7 years ago
Vladimír Vondruš
c639e7f5b2
python: initial random docs.
...
Just stuff I consider important at the moment scattered across numerous
files.
7 years ago