[issue1195571] simple callback system for Py_FatalError

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jun 9 10:08:59 CEST 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Sorry, the documentation in the patch is wrong. It should be: "Cause :cfunc:`Py_FatalError` to invoke the given function before printing to standard error and aborting out of the process."

I don't think it's worth making it more complex.  If the application does not want the default behavior (which is already quite minimal anyway), it can always install a hook that never returns.

----------

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


More information about the Python-bugs-list mailing list