diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-08-01 15:37:14 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-09-08 10:40:47 +0200 |
| commit | 493495fd5fe47cdcb212fd3ab7f7142a252b70cf (patch) | |
| tree | fbfb39ced1f633da2db6ee7c4f8778af52dda3f1 /examples/qml/tutorials/extending-qml | |
| parent | 45b9a7de88b2cb4da4912d78db56e9a2106764bd (diff) | |
Introduce multi-phase Python extension module initialization
For the non-Nuitka case, use the new form of of module initialization,
changing the module init() function to call PyModuleDef_Init()
providing an exec()-function as slot to be called for each
subinterpreter,
For the Nuitka case, maintain the old code path and call the exec()
function directly, as Nuitka does not seem to support it yet.
At the moment, the lazy initialization code is called from the exec()
function. Full subinterpreter support requires further investigation
on how to make lazy initialization work with multiple binterpreters.
[ChangeLog][shiboken6] Multi-phase Python extension module initialization
is now used for the non-deployed case.
Task-number: PYSIDE-3155
Task-number: PYSIDE-2221
Change-Id: Ie55953d47354b8f832d935fe42a686739dbce2ca
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml')
0 files changed, 0 insertions, 0 deletions
