[New-bugs-announce] [issue23781] Add private _PyErr_ReplaceException() in 2.7

Serhiy Storchaka report at bugs.python.org
Thu Mar 26 10:49:48 CET 2015

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list