diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-05-23 09:02:31 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-05-27 09:16:44 +0200 |
| commit | 0c12d05c3331dc6c9d130d130431d4f4054f9942 (patch) | |
| tree | 5493d2f299e9c3e99311e73967e9366b1a9315ed /sources/pyside6/libpyside/pysidesignal.cpp | |
| parent | 403df6692726734f1f7ad51eb48576a81a529a72 (diff) | |
Improve error handling when calling Python overrides of virtual methods
When calling into Python overrides of virtual methods,
there is mostly no Python context and so, potential errors,
for example caused by misguided duck-punching, appear as
error messages without context. To fix this, add an
optional context string parameter to storeErrorOrPrint()
and a special method for virtuals that formats class and
method name.
Change-Id: Ibbaf63c163edeb9bf8fcd364c108179c2ac6a069
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/libpyside/pysidesignal.cpp')
0 files changed, 0 insertions, 0 deletions
