A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-May/053335.html below:

[Python-Dev] Need to hook Py_FatalError

[Python-Dev] Need to hook Py_FatalError [Python-Dev] Need to hook Py_FatalErrorM.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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4