[PATCH][swig-py3] Detach Python exception context in callbacks
From: Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
Date: Sun, 3 Feb 2019 20:52:48 +0900
Hi,
Jun Omae told me (with patch) that exception from Python callback in
So I looked over callbacks in swigutil_py.c, those of return value type
The patch attached fix them by inserting PyErr_Fetch() and PyErr_Restore()
(The patch in other thread textually conflict with this patch, though)
Cheers,
-- Yasuhito FUTATSUKI
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.