-
- Downloads
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 8b33961e) Co-authored-by:Chris Jerdonek <chris.jerdonek@gmail.com>
Showing
- Lib/test/test_generators.py 49 additions, 0 deletionsLib/test/test_generators.py
- Misc/NEWS.d/next/Core and Builtins/2020-05-03-22-26-00.bpo-29590.aRz3l7.rst 2 additions, 0 deletions...ore and Builtins/2020-05-03-22-26-00.bpo-29590.aRz3l7.rst
- Objects/genobject.c 10 additions, 0 deletionsObjects/genobject.c
Loading
Please register or sign in to comment