Hi,

You can see that allow-thread is for example specified for the QMutexLocker constructor added for https://bugreports.qt.io/browse/PYSIDE-1271 at sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2397 and it is actually generated into the code. So, the GIL is held when calling a constructor from Python and it can be released.

Regards, Friedemann

--
Friedemann Kleint
The Qt Company GmbH

_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside

Reply via email to