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

container conversion ignores 'type', 'check'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • 6.7
    • 1.1.1, 1.1.2
    • Shiboken
    • 54ed06ab0e9014319ac8053465b97bc2cb226c47

    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

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes