STINNER Victor <vstin...@python.org> added the comment:
_PyErr_Occurred() is defined as: static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) { assert(tstate != NULL); return tstate->curexc_type; } ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43270> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com