aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtQml/pysideqmlregistertype.cpp
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-11-02 15:52:02 +0100
committerChristian Tismer <tismer@stackless.com>2021-11-11 11:12:49 +0100
commit9c7d7a5d19b4a1f57d67694f03a90ddd3b3ff4a9 (patch)
tree5d29fcf950610d68893081e32588a07e646a3a16 /sources/pyside6/PySide6/QtQml/pysideqmlregistertype.cpp
parente1909dfdd4dcc0742600d04afcfb3017ae471a31 (diff)
PyPySide: Replace type patching by heaptype, 1(5)
PyPy does not allow patching of non-heaptypes. We did that trick for simplicity in the signature module where we created a `__signature__` attribute for types. This patch removes the type modification and uses our heaptypes, only. For other types, more work is needed. It also fixes the metatype for enums which was wrong. This is the first replacement of o PyType_Type * PyMethodDescr_Type * PyCFunction_Type * PyStaticMethod_Type * PyWrapperDescr_Type The patches will be replaced by heaptypes if possible, or we might use signatures in a shadow dict, instead. [ChangeLog][shiboken6] Remove type patching of PyType_Type and fix the meta type of enum. Task-number: PYSIDE-535 Change-Id: I221834661709c71ee9ed17b3d6cc293b87447ab7 Pick-to: 6.2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/QtQml/pysideqmlregistertype.cpp')
0 files changed, 0 insertions, 0 deletions