diff options
author | Christian Tismer <tismer@stackless.com> | 2023-10-26 23:32:10 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2023-11-14 16:06:04 +0100 |
commit | 9557565b48b2a72b7697443930234f9f92c17781 (patch) | |
tree | e5749eaf58a0c0cd20f5d535ba764c83ee83e37a /build_history/blacklist.txt | |
parent | a9fac8c9a16c536db36ac2f14a5f9d38e06e6b4c (diff) |
Shiboken: Fix subtle bug caused by PyPy support and "bug_825"
When implementing PyPy support, all Shiboken types lost their
hidden extra fields, because they were replaced by shadow dicts.
This creates a problem with multiple inheritance.
In Python < 3.12, the decision which base type will create the
instance is driven simply by the size of the type. In
class MetaC(MetaA, MetaB):
pass
when MetaA is derived from type and MetaB is derived from
SbkObjectType, MetaA is not the type that should win.
Fixed by simply adding 1 to the default size of PyType_Type.
Caused by bug_825 corrected version.
The old test is retained as bug_825_old.py .
NOTE: This touches a Python 3.8 bug that was fixed in 3.9.12
and 3.10.4 - unfortunately CI Python is older in all cases.
Task-number: PYSIDE-2230
Change-Id: I6e82cafb83c8351bbbeafcc80e11d5e45568f73d
Pick-to: 6.2 6.5 6.6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'build_history/blacklist.txt')
-rw-r--r-- | build_history/blacklist.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build_history/blacklist.txt b/build_history/blacklist.txt index cb9b1c500..60cc3f955 100644 --- a/build_history/blacklist.txt +++ b/build_history/blacklist.txt @@ -43,7 +43,10 @@ darwin ci [QtAsyncio::qasyncio_test_chain] win32 - +[QtQml::bug_825] + py3.8 # bug in typeobject::type_mro_modified, fix in 3.9 + py3.9 # fixed in 3.9.12 + py3.10 # fixed in 3.10.4 # PYSIDE-535: These errors are still present. Please try to remove one :) [sample::mixed_mi] pypy |