diff options
author | Christian Tismer <[email protected]> | 2021-11-19 10:35:27 +0100 |
---|---|---|
committer | Christian Tismer <[email protected]> | 2021-11-22 15:43:05 +0100 |
commit | 2149a45fddeedea317dccbfe5e5b14e13888e5c9 (patch) | |
tree | 4a1fa7832bef8225b67dc3423cc1c504b3b63c72 /examples/widgets/effects/blurpicker | |
parent | 0377d62cc71dda587b01d641bc8d13385402142c (diff) |
signature: improve error handling for embedded applications
Entering something like
"""
mainWindow.setPointer(None)
"""
crashes in an old version of scriptableapplication, which
shows an omission in the signature interface. The error
shows up whenever a builtin module cannot be imported.
The error does not show up in PySide 6, because the
module is declared as a builtin via `PyImport_AppendInittab`.
* add registration of AppLib as a builtin (5.15)
* insert builtin modules per default into the mapping module
* simple recovery if a module cannot be found in sys.modules
[ChangeLog][shiboken6] Error handling was improved for embedded
applications and builtin modules are trusted as valid modules.
Change-Id: I722212a52a5e3aae924f0b965578485ecaf185a9
Fixes: PYSIDE-1710
Pick-to: 6.2 5.15
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/widgets/effects/blurpicker')
0 files changed, 0 insertions, 0 deletions