[PySide] [Stackless] PySide problem, take #2: typeobject clash

Christian Tismer tismer at stackless.com
Mon Oct 21 19:07:21 CEST 2013


On 21.10.13 18:57, John Ehresman wrote:
> On 10/21/13 12:44 PM, Christian Tismer wrote:
>> On 21.10.13 17:54, John Ehresman wrote:
>>> I took a look at the patch and can't quite understand it (I must admit
>>> I didn't apply it).  Can someone explain why it's needed?
>>
>> It is all about stackless' different frame layout.
>> This is the minimal patch to be able to compile pyside for stackless
>> python.
>> It is explained in the bug report.
>>
>> https://bugreports.qt-project.org/browse/PYSIDE-199
>
> I think I'm confused -- I see changes to how SbkTypeObject fields are 
> referenced (SbkTypeObject is a C level extension of the 
> PyHeapTypeObject struct).  I don't think I see changes to frames.

Hoppla, you are right, no frames at all. Did I say that? geee

No, it is about the type layout, there are (ah, here came the word frame
again?! ) there are type fields in CPython that stackless does not have.

Well, and because these structures are different in size, pyside must
be compiled using stackless, otherwise it crashes ugly.

(bzzt, no frames -- what's up with my brain? like a shortcut, I need 
rewiring)

ciao - 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