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>
Tue, 16 Nov 2021 09:16:14 +0000 (09:16 +0000)
commit60a6ad9eeffe4e833992f688655ec305e9e84138
treeeec76c539718aadc8daa1b82465d8b8ed5aff44e
parentf7fd3f2d742db02b6d0444b6eb474bfc1d97537c
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