[PySide] container conversion native type ignored?

John Ehresman jpe at wingware.com
Wed Jun 19 18:33:53 CEST 2013


On 6/18/13 5:19 PM, Matthew Woehlke wrote:
> I am trying to define a conversion from PySet to std::set, but it
> doesn't work. It seems that container conversion (at least of
> 'type="set') ignores both the 'type' and 'check' parameters, using
> Shiboken::Converions::convertibleSequenceTypes unconditionally. (It's
> sheer luck that my conversion from PySet actually works on PySequence.)
> Also, additional conversions do not seem to be processed.
>
> Can anyone shed some light?

Do you have a test case?  It sounds like it may be a bug, but I'm not 
familiar enough with this part of shiboken to say.

Thanks,

John




More information about the PySide mailing list