commit | e92219d8f864a1a8eb381d98d5df4f1aa767dacb | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Sep 04 16:07:18 2020 -0700 |
committer | GitHub <noreply@github.com> | Fri Sep 04 16:07:18 2020 -0700 |
tree | 737d03df4becc2a6c348b6a2940828266f75cd61 | |
parent | 106c1df736d38f5b411a8571b97275d0ecf1d0a9 [diff] |
bpo-29590: fix stack trace for gen.throw() with yield from (GH-19896) * Add failing test. * bpo-29590: fix stack trace for gen.throw() with yield from (GH-NNNN) When gen.throw() is called on a generator after a "yield from", the intermediate stack trace entries are lost. This commit fixes that. (cherry picked from commit 8b33961e4bc4020d8b2d5b949ad9d5c669300e89) Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>