diff options
author | Christian Tismer <tismer@stackless.com> | 2023-05-14 11:49:46 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2023-06-06 16:33:50 +0200 |
commit | baedbe8353ee20eb7ac98e67b7985eb80959f14f (patch) | |
tree | e6cce725eca2be59ca89698db3d06fe721b11755 /examples/scriptableapplication | |
parent | 30a684904419922d7bd9857d889addc6ac444efd (diff) |
shiboken: Implement raising of unraisable exceptions correctly
TODO in another check-in: Control exec/run by an XML attribute
[ChangeLog][PySide6] Unraisable exceptions are now handled by a
handler on the stack or printed if impossible.
Unraisable exceptions are stored in an error store if there is
an error handler on the call stack that can handle it,
otherwise it is printed immediately.
We record the existence of an error handler in thread local
storage, which solves thread problems automatically.
Since exec and run functions completely block all handlers,
we need to mark them as a special case.
The overhead is minimal and uses constant memory per thread.
Task-number: PYSIDE-2310
Task-number: PYSIDE-2321
Change-Id: Ic25a2ff8552baf6e132ad86a4ad0925375e7ea88
Fixes: PYSIDE-2335
Pick-to: 6.5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/scriptableapplication')
0 files changed, 0 insertions, 0 deletions