New submission from Serhiy Storchaka: Proposed patch adds internal private function _PyErr_ReplaceException() in 2.7. This functions is like _PyErr_ChainExceptions() in 3.x, but doesn't set the context. It makes the code of 2.x simpler and more similar to 3.x and makes the backporting from 3.x easier.
---------- components: Interpreter Core files: capi_PyErr_ReplaceException.patch keywords: patch messages: 239317 nosy: haypo, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Add private _PyErr_ReplaceException() in 2.7 type: enhancement versions: Python 2.7 Added file: http://bugs.python.org/file38697/capi_PyErr_ReplaceException.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23781> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com