Skip to content

[3.9] bpo-29590: fix stack trace for gen.throw() with yield from (GH-19896) #21416

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

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 9, 2020

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]

https://bugs.python.org/issue29590

…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]>
@miss-islington
Copy link
Contributor Author

@cjerdonek and @markshannon: Status check is done, and it's a success ✅ .

@Mariatta Mariatta closed this Sep 4, 2020
@miss-islington miss-islington deleted the backport-8b33961-3.9 branch September 4, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants