Author serhiy.storchaka
Recipients eric.snow, ncoghlan, pitrou, serhiy.storchaka, vstinner
Date 2018-05-22.17:44:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is usually more complex code between PyErr_Fetch() and _PyErr_ChainExceptions():

        PyObject *exc, *val, *tb, *close_result;
        PyErr_Fetch(&exc, &val, &tb);
        close_result = _PyObject_CallMethodId(result, &PyId_close, NULL);
        _PyErr_ChainExceptions(exc, val, tb);

Many exceptions can be raised and silenced or overridden between, but we are interesting in chaining the only latest exception (or restoring the original exception if all exceptions between were silenced).
Date User Action Args
2018-05-22 17:44:16serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, pitrou, vstinner, eric.snow
2018-05-22 17:44:16serhiy.storchakasetmessageid: <>
2018-05-22 17:44:16serhiy.storchakalinkissue23188 messages
2018-05-22 17:44:16serhiy.storchakacreate