aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtCore/qmetaobject_test.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-02-27 13:36:53 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-28 15:55:11 +0000
commitab7e0fea1e64f4c56073a798bab2068eb6b04722 (patch)
tree86375ce495ce19bbaa840fdff49f6246cf6cd89a /sources/pyside6/tests/QtCore/qmetaobject_test.py
parent5587b62fb81a95ad2fd74c6d1beb396b3503a966 (diff)
PyPySide: Fix a regression with thread initialization
The mandelbrot.py example worked fine on macOS, but failed to run on Windows and Linux. This did not show up on my local Windows virtual machine after building. But cloning the machine and removing the developer partition revealed the same issue on the clone. It turned out that PyPy needed a PyEval_InitThreads call. This call is already deprecated and a no-op on Python 3.9. Adding this call fixed the problem. We need to contact the PyPy group because they have a PyPython 3.9 beta, which is dependent from a deprecated function. [ChangeLog][PySide6] Threading stability was much improved by a call to PyEval_InitThreads (deprecated in Python 3.9). Task-number: PYSIDE-535 Change-Id: Ibf6d92bf0b21542be8929e12a6e02389c036ec79 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit c6f280a074391627d173e0fc27c104a2db667936) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/tests/QtCore/qmetaobject_test.py')
0 files changed, 0 insertions, 0 deletions