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 <1547192273.26.0.862547835364.issue35711@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-01-11 07:37:54serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, sfreilich
2019-01-11 07:37:53serhiy.storchakasetmessageid: <1547192273.26.0.862547835364.issue35711@roundup.psfhosted.org>
2019-01-11 07:37:53serhiy.storchakalinkissue35711 messages
2019-01-11 07:37:53serhiy.storchakacreate