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

PySide compatibility with stackless

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.0
    • None
    • PySide, Shiboken
    • Mac OS X

    Description

      This is a minimal patch that makes compilation of PySide work with
      stackless python. It is needed in conjunction with my pull request on
      the pyside repo.

      The problem was the different layout of frames in stackless, where the
      field "ht_type" does not exist. Instead, stackless always uses the extended type,
      and all fields are accessible without "ht_type".

      I introduced a few macros which put these differences into a central place:
      sbkpython.h
      and made sure that this file is included also in all generated files.

      Tested to build correctly on OS X with

      stackless on python 2.7.5
      plain python 2.7.5
      plain python 3.3

      This patch does not need to be touched again.

      Cheers - Chris

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            ctismer Christian Tismer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes