commit | ba2ecd68414b9c53d00560579f5bc13459bc0449 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Tue Jun 14 09:19:20 2016 -0700 |
committer | Gregory P. Smith <greg@krypto.org> | Tue Jun 14 09:19:20 2016 -0700 |
tree | 0f23b73c117c222dbb5b3781afb3f7dc3462a9f9 | |
parent | c72828ba3377a2139f36b8fdc9b0cbd5dd798712 [diff] |
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.