Re: [PATCH][swig-py3] Detach Python exception context in callbacks

2019-02-03 Thread Daniel Shahaf
Yasuhito FUTATSUKI wrote on Sun, 03 Feb 2019 20:52 +0900: > The patch attached fix them by inserting PyErr_Fetch() and PyErr_Restore() > save and restore Python error indicator. > > (The patch in other thread textually conflict with this patch, though) I don't have an opinion on this specific pat

[PATCH][swig-py3] Detach Python exception context in callbacks

2019-02-03 Thread Yasuhito FUTATSUKI
Hi, Jun Omae told me (with patch) that exception from Python callback in svn_swig_py_status_func2() causes segmentation fault on Python 3.7. (The patch have already been committed as r1551888). I think cause of segmentation fault on py3 is the change of exception handling between py2 and py3, sup