qApp: fix flag handling in Python 3.8+ and a Python 3.9 issue
authorChristian Tismer <tismer@stackless.com>
Wed, 23 Dec 2020 11:28:16 +0000 (13:28 +0200)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 26 Dec 2020 08:39:45 +0000 (08:39 +0000)
commita9795a46c85b2901f3e2c2b1d2c25b7537ce9ef9
tree7799e622bb43d235d23b795c4d76626b1ce29217
parent0a1146c9ac69b23fc0b8e07941f2a4be6268e36e
qApp: fix flag handling in Python 3.8+ and a Python 3.9 issue

This is an old problem that was solved for Python 2.7.
From Python 3.8 on, the behavior is the same with Python 3.

The fix finally was to extend a Python 2.7 patch to Python 3
as well. See the Jira issue for details.

This patch includes also a small patch that was mentioned as
necessary for Python 3.9: Python issue 40217. I have seen no
effect of this change yet but applied the patch, anyway.

Origin: https://codereview.qt-project.org/c/pyside/pyside-setup/+/328046

Gbp-Pq: Name qApp-fix-flag-handling.patch
sources/shiboken2/libshiboken/basewrapper.cpp