[PySide] PySide violates Python API - PyQt does not!
Christian Tismer
tismer at stackless.com
Sun Dec 9 20:08:28 CET 2012
On 09.12.12 19:22, John Ehresman wrote:
> On 12/8/12 1:36 PM, Christian Tismer wrote:
>> It is pretty likely that there is a problem with extra data fields behind
>> the type object structure, which is used by both pyside and stackless.
>>
>> from basewrapper.h :
>>
>>> /// PyTypeObject extended with C++ multiple inheritance information.
>>> struct LIBSHIBOKEN_API SbkObjectType
>>> {
>>> PyHeapTypeObject super;
>>> SbkObjectTypePrivate* d;
>>> };
> If this is the case, shouldn't recompiling pyside & shiboken for
> stackless resolve the issue?
>
Yes, this is true, and I tried this.
Unfortunately, PySide does not build with Stackless Python, due to
the different definition of PyHeapTypeObject.
I saw thar PyQT had a similar problem, and it has a small patch.
PySide is different in that it requires to access to
PyTypeObject ht_type;
which is absent in stackless.
Now I'm undecided whether to change shiboken or stackless.?
Maybe I will patch shiboken for the moment, to see if it solves the problem.
Thanks for motivating me - chris
--
Christian Tismer :^) <mailto:tismer at stackless.com>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* http://starship.python.net/
14482 Potsdam : PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776 fax +49 (30) 700143-0023
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
More information about the PySide
mailing list