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

Robustify pybind11 reference and pointer return types

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Templates:
    • Story Points:
      4
    • Epic Link:
    • Team:
      Data Release Production

      Description

      Currently pybind11 defaults to py::return_value_policy::copy or (py::return_value_policy::take_ownership) for (const) references (and pointers) respectively.
      It would be better if it would require an explicit return_value_policy to be specified instead.

      Investigate this further and potentially push changes upstream.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pschella Pim Schellart [X] (Inactive)
              Watchers:
              Jim Bosch, John Swinbank, Pim Schellart [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel