Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9225

Rewrite ndarray pybind11 type_casters to avoid numpy C API

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Templates:
    • Story Points:
      4
    • Team:
      Data Release Production

      Description

      Using the NumPy C API requires some ugly boilerplate in every wrapper file that uses the ndarray type_casters. pybind11 provides its own low-level numpy interface, and it'd be better to use that instead. I imagine this will uncover some functionality we'd want to add to upstream pybind11, but I imagine we'd at least have the option of doing that locally if that isn't a possibility.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbosch Jim Bosch
                Reporter:
                jbosch Jim Bosch
                Reviewers:
                Pim Schellart [X] (Inactive)
                Watchers:
                Jim Bosch, Pim Schellart [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel