summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2016-06-14 09:24:31 -0700
committerGregory P. Smith <greg@krypto.org>2016-06-14 09:24:31 -0700
commit881aa389725b5becaa5f3115d97563fc2c69a70d (patch)
tree9e5835461ca77d86e4c0f2c68f4241a26b01dd68 /Python/errors.c
parentc206f1eb1c4d5ac397ce7059e56bb201e44a0ce9 (diff)
parentba2ecd68414b9c53d00560579f5bc13459bc0449 (diff)
downloadcpython-git-881aa389725b5becaa5f3115d97563fc2c69a70d.tar.gz
Issue #27123: When an exception is raised within the context being
managed by a contextlib.ExitStack() and one of the exit stack generators catches and raises it in a chain, do not re-raise the original exception when exiting, let the new chained one through. This avoids the PEP 479 bug described in issue25782.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions