Author serhiy.storchaka
Recipients serhiy.storchaka, sfreilich, vstinner
Date 2019-01-11.07:37:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Calling PyErr_Occurred() on every function call adds some overhead. It should be called only in the debug build.

In addition to the traceback, it would be nice to output also some information about the callable.

Note also that PyErr_Print() calls sys.excepthook and exits the interpreter if SystemExit is raised. It is not a proper function for using here.
Date User Action Args
2019-01-11 07:37:54serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, sfreilich
2019-01-11 07:37:53serhiy.storchakasetmessageid: <>
2019-01-11 07:37:53serhiy.storchakalinkissue35711 messages
2019-01-11 07:37:53serhiy.storchakacreate