Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
py::object
to hold py::memoryview
As `py::memoryview` must be assigned and we cannot guarantee it will assign without error, declare `py::object` and place the results of `py::memoryview` (if successful) into `py::object`. Can reconstruct the `py::memoryview` later to get the actual object out.
- Loading branch information