diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-02-27 13:36:53 +0100 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-02-28 12:07:47 +0100 |
| commit | c6f280a074391627d173e0fc27c104a2db667936 (patch) | |
| tree | 1d8edbc67723220b81cb67b23b6f68373c635a04 /examples/declarative/referenceexamples/valuesource/main.py | |
| parent | e4eeecd0f8d64907ddbc2c457abd9675c0a4654a (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
Pick-to: 6.2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/declarative/referenceexamples/valuesource/main.py')
0 files changed, 0 insertions, 0 deletions
