diff options
author | Christian Tismer <tismer@stackless.com> | 2019-08-30 06:27:49 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2019-09-03 13:35:01 +0200 |
commit | cd6172063756a59e02f1a7857bc60a1737214ad1 (patch) | |
tree | 75ba72fcb7052e708b4d18fb5332f86cbf0a2b7f /examples | |
parent | 6de26fe9cdd7587dfda84408dca0c15365754a9c (diff) |
Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7
The patching of the type generation needs to become universal.
Additional to the patch for SbkObjectType_TypeF, we now patch
* SbkObjectTypeTpNew
* introduceWrapperType
which makes the modifications for the heaptype flag complete.
Actually, the modification of tp_new_wrapper has to be more
sophisticated in this general case:
We follow the __mro__ and patch exactly those functions which
have the old wrapper and add the new wrapper.
Change-Id: I51d4d77c99bd18eed2e31d2ab21143c0f4e2ea6c
Fixes: PYSIDE-1051
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions