diff options
author | Gregory P. Smith <greg@krypto.org> | 2016-06-14 09:24:31 -0700 |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2016-06-14 09:24:31 -0700 |
commit | 881aa389725b5becaa5f3115d97563fc2c69a70d (patch) | |
tree | 9e5835461ca77d86e4c0f2c68f4241a26b01dd68 /Python/getplatform.c | |
parent | c206f1eb1c4d5ac397ce7059e56bb201e44a0ce9 (diff) | |
parent | ba2ecd68414b9c53d00560579f5bc13459bc0449 (diff) | |
download | cpython-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/getplatform.c')
0 files changed, 0 insertions, 0 deletions