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

Compiled code does not work properly with Nuitka

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • 5.15.1, 6.0
    • 1.2.0, 1.2.x
    • PySide, Shiboken
    • 2bd69b9877f7b240512f03b4df042adf9acea744 (pyside/pyside-setup/5.15)

    Description

      Hello,

      I am the author of Nuitka, a Python compiler with very high levels of compatibility. In the past I managed to contribute patches for wxpython and PyQt that made them work with Nuitka as well. A typical issue is that PyMethod_Check and PyFunction_Check won't say true on compiled functions. Yet they should be used.

      I am attaching an example, that when compiled won't ever call the callback when the signal is sent, if compiled. Nuitka needs no installation really, I accept that you may not want to install it. http://nuitka.net

      I have attempted to look at Shiboken and PySide itself, but it seems I fail to find the exact spot, where to change code. Can you lend me a hand and point me. I see there is a registry of types and conversions and ways to attach stuff. Compiled methods e.g. have im_self and other attributes that can be used to achieve the effect.

      Thanks in advance,
      Kay

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-198
          # Subject Branch Project Status CR V

          Activity

            People

              vbarrielle Vincent Barrielle
              kayhayen Kay Hayen
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes