diff options
author | Christian Tismer <tismer@stackless.com> | 2021-04-05 19:25:46 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2021-04-07 11:00:57 +0200 |
commit | 0a47111b454b8e1582d8595cadc348b61989ff29 (patch) | |
tree | 875361a7e97b3a41a29a88dcbe5e4fa407ff050d /examples/scriptableapplication | |
parent | be356545daca6add940256d7fb2022bb2a0866aa (diff) |
signature: protect an unrecognized item from raising exceptions
A special case "std::optional" caused an exception at an unforeseen
place, because "std" was not recognized in an eval.
Turn this into another runtime warning.
Also, the "std::optional" case was added as "typing.Optional"
after applying und testing the above fix.
Change-Id: I722ae463d133125e96ab09aeb38f21cdc2453d5b
Fixes: PYSIDE-1538
Pick-to: 6.0
Pick-to: 5.15
Reviewed-by: Renato Araujo Oliveira Filho <renato.araujo@kdab.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/scriptableapplication')
0 files changed, 0 insertions, 0 deletions