Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1605

shiboken should allow to pass containers to python without copying

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2
    • Shiboken
    • None
    • All
    • 00a1a9e5c (dev), 1dc28e160 (dev), 9bc3eed5c (dev), 4c2c58511 (dev)

      this is a bug / feature-request

      current implementation of containers requires copying of eg. vector each time it is accessed in python.

      shiboken should implement a way to expose eg. vectors(by pointer / ref)  that expose python's list defs(methods)

      that vector would behave 'almost' same as pythons native list but wouldnt need to be copied.

      pybind11 allows that :  https://pybind11.readthedocs.io/en/stable/advanced/cast/stl.html#making-opaque-types

        For Gerrit Dashboard: PYSIDE-1605
        # Subject Branch Project Status CR V

            kleint Friedemann Kleint
            meomic Michal M
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes