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)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 5 Feb 2022 15:09:17 +0000 (15:09 +0000)
commitad79627e901db0dcfbbbfa1b5e1173cf66e12545
treeefde2d2bee9c594c27f996b1a0c9a17a5b2c0d41
parenta001b5ed06ef8d8ca138af58944ba8a1bce84853
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