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)
committerChristian Marillat <marillat@debian.org>
Fri, 17 Jun 2022 15:49:37 +0000 (16:49 +0100)
commitd6d8a640e809e887e42483bc014224ae3842c1d9
tree6528eb01ce54a6462cd95155a98106cb306dee3c
parent92586482c3d9880269f0380655e719afcb722b1e
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