-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-29590: fix stack trace for gen.throw() with yield from #19896
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 <chris.jerdonek@gmail.com>
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 <chris.jerdonek@gmail.com>
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 <chris.jerdonek@gmail.com>
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