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

Update pex_exceptions to use pybind11::reinterpret_borrow / steal instead of object

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      0.5
    • Sprint:
      DRP S17-3
    • Team:
      Data Release Production

      Description

      The argumented py::object constructor is deprecated and spits out lots of warnings where ever pex_exceptions is used.
      Replace it with py::reinterpret_borrow<object> and py::reinterpret_steal<object>.

        Attachments

          Activity

          Hide
          rowen Russell Owen added a comment -

          This looks great. Thanks for fixing the warnings!

          Show
          rowen Russell Owen added a comment - This looks great. Thanks for fixing the warnings!

            People

            Assignee:
            pschella Pim Schellart [X] (Inactive)
            Reporter:
            pschella Pim Schellart [X] (Inactive)
            Reviewers:
            Russell Owen
            Watchers:
            Pim Schellart [X] (Inactive), Russell Owen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins Builds

                No builds found.