[issue1195571] simple callback system for Py_FatalError

James William Pye report at bugs.python.org
Mon Feb 16 20:55:20 CET 2009


James William Pye <x at jwp.name> added the comment:

I had actually forgotten that this was still open. Anything I can do to
help speed this along?

In case nobody remembers, the purpose of this was to provide a facility
to embedded applications that allows for a more graceful shutdown in
fatal error situations. My original use-case was for a PostgreSQL PL
extension where an abort() is quite undesirable as it would take down
the entire cluster(yeah, all the postmaster processes).

IIRC, the only thoughts "against" it were rather for trying to remove
FatalErrors entirely.

hepl?

----------
nosy: +jwp

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


More information about the Python-bugs-list mailing list