diff options
author | Kyle Altendorf <sda@fstab.net> | 2020-06-12 22:46:49 -0400 |
---|---|---|
committer | Kyle Altendorf <sda@fstab.net> | 2020-07-01 12:11:30 -0400 |
commit | d6f460db0f9fcdc2756b29209f21a7b87587881c (patch) | |
tree | 981cba443bdb18a7c47c96d60fffa0968810108a /sources/pyside2/PySide2/QtCore/typesystem_core_common.xml | |
parent | 4c615f2c749e50d157076237d65ed7297fa070b5 (diff) |
basewrapper.cpp: add PyErr_Fetch/Restore in SbkDeallocWrapperCommon()
Fixes corruption of the interpreter's internal exception state which can
occur for example in a final send to a generator which results in
teardown of Python objects.
Resolved by adding PyErr_Fetch and PyErr_Restore calls around the
deallocation code in SbkDeallocWrapperCommon().
Task-number: PYSIDE-1313
Change-Id: Ie68c7b08d60eec8ca91b4032b21089d66d6e4478
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/QtCore/typesystem_core_common.xml')
0 files changed, 0 insertions, 0 deletions