aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/doc/scripts/patch_qhp.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-04 11:46:51 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-04 15:14:57 +0200
commitf21f5c469813ab8fb13b2607624dd9a33c345acb (patch)
tree4e337303e7a5a028d5c6ea309f523921e4d78cf0 /sources/shiboken6/doc/scripts/patch_qhp.py
parent545e90b4c434c7380a61113ec377ba56007eb0dc (diff)
shiboken6: Add a check for null to the smart pointer access
If a null check method exists, generate a check into getattro() with a better error message than the attribute access error. This will be vital for std::optional to suppress a C++ exception being thrown. Pick-to: 6.2 Task-number: PYSIDE-454 Change-Id: I6d8e16e31c094aa695e150990c471007bcd34eb9 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/doc/scripts/patch_qhp.py')
0 files changed, 0 insertions, 0 deletions