[Python-Dev] Need to hook Py_FatalError
Jeff Epler
jepler at unpythonic.net
Tue May 3 19:54:23 CEST 2005
On Tue, May 03, 2005 at 09:15:42AM -0700, Guido van Rossum wrote:
> But tell me, what do you want the process to do instead of
> terminating? Py_FatalError is used in situations where raising an
> exception is impossible or would do more harm than good.
In an application which embeds Python, I want to show the application's
standard error dialog, which doesn't call any Python APIs (but does do
things like capture the call stack at the time of the error). For this
use, it doesn't matter that no further calls to those APIs are possible.
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20050503/62c5ddea/attachment.pgp
More information about the Python-Dev
mailing list