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

Compiled code does not work properly with Nuitka

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes