aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2019-08-30 06:27:49 +0200
committerSimo Fält <simo.falt@qt.io>2019-09-06 09:17:41 +0000
commit0add41759ad3346a8ea93863e347e73e98700bec (patch)
tree28229db285686b6d6624b2dde01740b04ec2a8a1 /build_scripts/utils.py
parent91003e1e355e0cfc8a152d527d29c2599e022a6a (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> (cherry picked from commit cd6172063756a59e02f1a7857bc60a1737214ad1)
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions