[PATCH 1/3] Fix Python 3.8 problems
authorChristian Tismer <tismer@stackless.com>
Tue, 26 Nov 2019 10:54:37 +0000 (11:54 +0100)
committerKurt Kremitzki <kurt@kwk.systems>
Mon, 18 May 2020 01:27:01 +0000 (02:27 +0100)
commit50df56ab29ce6b5aea399a83b23601b06e27e74c
tree19c836568010a3a22761b636fb4f6ace96ad3f55
parentecc610d1d379e22b6de2f54ca1b15315eac7d9c7
[PATCH 1/3] Fix Python 3.8 problems

This patch fixes some refcounting problems with Python 3.8 .
One incompatible change was announced in the what's new
document, but actually there were two more problems which
were not explicitly mentioned but took much time to sort out.

The patch is compatible with the limited API changes
(tested with debug build and API error disabled).
It is also independent of the Python version which is
full Limited API support.

For more info, see the documentation mentioned below.

The flag error is circumvented now! We either find a better
solution or leave it as it is. For now this is ok.

Fixes: PYSIDE-939
Change-Id: Iff4a9816857a6ebe86efd4b654d8921e4e464939
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Gbp-Pq: Name 0002-Fix-Python-3.8-problems.patch
17 files changed:
sources/pyside2/PySide2/QtQml/pysideqmlregistertype.cpp
sources/pyside2/libpyside/pysideclassinfo.cpp
sources/pyside2/libpyside/pysidemetafunction.cpp
sources/pyside2/libpyside/pysideproperty.cpp
sources/pyside2/libpyside/pysideqflags.cpp
sources/pyside2/libpyside/pysidesignal.cpp
sources/pyside2/libpyside/pysideslot.cpp
sources/pyside2/libpyside/pysideweakref.cpp
sources/pyside2/tests/signals/bug_79.py
sources/shiboken2/generator/shiboken2/cppgenerator.cpp
sources/shiboken2/libshiboken/basewrapper.cpp
sources/shiboken2/libshiboken/basewrapper.h
sources/shiboken2/libshiboken/pep384impl.cpp
sources/shiboken2/libshiboken/pep384impl.h
sources/shiboken2/libshiboken/sbkenum.cpp
sources/shiboken2/libshiboken/typespec.cpp
sources/shiboken2/libshiboken/voidptr.cpp