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

container conversion ignores 'type', 'check'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1, 1.1.2, dev
    • Fix Version/s: dev
    • Component/s: Shiboken
    • Labels:

      Description

      Consider the attached typesystem snippet. It contains a number of intentional errors, but nonetheless generates code that can compile successfully.

      This illustrates a limitation of container conversions; at least w.r.t. the target-to-native conversions, only the first conversion is processed, and the 'type' and 'check' parameters of the conversion are ignored.

      This is a problem for me as I am trying to define a target-to-native conversion for PySet to std::set, but it is not possible to due so as of Shiboken 1.1.2, as the 'set' container type hard-codes only accepting PySequence as input type.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            matthew.woehlke Matthew Woehlke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes