Nuitka has its own types for compiled method and compiled function.
The compiled method has the same attributes as a method, and the compiled function the same attributes as a function in CPython. The only difference is that PyFunction_Check and PyMethod_Check will not pass.
I have ventured into PySide and Shiboken and found all occurrences of these and prepared patches to allow for compiled methods and functions as well.
I will upload my patches once I successfully tested them.
| For Gerrit Dashboard: PYSIDE-1523 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 340098,1 | WIP: Add support for Nuitka compiled functions and methods | dev | pyside/pyside-setup | Status: ABANDONED | -2 | 0 | 
| 340108,10 | Nuitka: Allow for compiled functions and methods too | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 | 
| 341067,10 | wheel_tester: Enable it again for Qt >= 6 with Nuitka | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 | 
| 341719,1 | wheel_tester: Enable it again for Qt >= 6 with Nuitka, addendum | dev | pyside/pyside-setup | Status: ABANDONED | -1 | 0 | 
| 372864,7 | Document the usage of Nuitka | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |