[issue30560] Py_SetFatalErrorAbortFunc: Allow embedding program to handle fatal errors

Thomas Perl report at bugs.python.org
Sat Jun 3 15:21:52 EDT 2017


Thomas Perl added the comment:

Quick fix for the patch: Of course, the line with abort() needs to be removed before this block:

+    if (_fatal_error_abort_func != NULL) {
+        _fatal_error_abort_func(msg);
+    } else {
+        abort();
+    }

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30560>
_______________________________________


More information about the Python-bugs-list mailing list