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@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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com