[Python-Dev] Need to hook Py_FatalError
M.Utku K.
m.u.k.2 at gawab.com
Wed May 4 20:52:51 CEST 2005
Hi all,
> strip.....
> What if more than one extension needs it ?
> Curently Im doing
>
> callback_type SetCallBack(callback_type newfunc)
>
> This will set the callback to newfunc and return the old one. Extension
> developer may discard or call them at his own will. What do you think?
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/python-python-dev%40m.g
> mane.org
>
Ok then, it will be a one shot callback registration.
By the way declaration of the func
( void SetFatalError_Callback(PyFatalError_Func func) )
is in "pyerrors.h" but implemenatiton is
is in "Pythonrun.c". Is it OK? Im listening for more.
Best regards.
More information about the Python-Dev
mailing list