bpo-29590: fix stack trace for gen.throw() with yield from#19896
bpo-29590: fix stack trace for gen.throw() with yield from#19896markshannon merged 2 commits intopython:masterfrom
Conversation
When gen.throw() is called on a generator after a "yield from", the intermediate stack trace entries are lost. This commit fixes that.
|
LGTM. |
|
Thanks @cjerdonek for the PR, and @markshannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
|
@markshannon: Please replace |
|
GH-21416 is a backport of this pull request to the 3.9 branch. |
…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 8b33961) Co-authored-by: Chris Jerdonek <[email protected]>
|
Sorry, @cjerdonek and @markshannon, I could not cleanly backport this to |
|
Thanks @cjerdonek for the PR, and @markshannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
…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 8b33961) Co-authored-by: Chris Jerdonek <[email protected]>
|
GH-22106 is a backport of this pull request to the 3.9 branch. |
|
Thanks @cjerdonek for the PR, and @markshannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
|
Thanks @cjerdonek for the PR, and @markshannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Sorry, @cjerdonek and @markshannon, I could not cleanly backport this to |
|
Someone has to manually backport to the 3.8 branch. (I'm not doing it) |
* 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 8b33961) Co-authored-by: Chris Jerdonek <[email protected]>
This fixes the following issue: When gen.throw() is called on a generator after a "yield from", the
intermediate stack trace entries are lost.
https://bugs.python.org/issue29590