◐ Shell
clean mode source ↗

bpo-29587: Enable implicit exception chaining with gen.throw() by cjerdonek · Pull Request #19811 · python/cpython

@cjerdonek

Before this commit, if an exception was active inside a generator
when calling gen.throw(), then that exception was lost (i.e. there
was no implicit exception chaining).  This commit fixes that.

gvanrossum

vstinner added a commit that referenced this pull request

Apr 30, 2020

vstinner added a commit that referenced this pull request

Apr 30, 2020

cjerdonek added a commit to cjerdonek/cpython that referenced this pull request

Apr 30, 2020
Before this commit, if an exception was active inside a generator
when calling gen.throw(), then that exception was lost (i.e. there
was no implicit exception chaining).  This commit fixes that.