bpo-29587: Make gen.throw() chain exceptions with yield from (GH-19858)
The previous commits on bpo-29587 got exception chaining working with gen.throw() in the `yield` case. This patch also gets the `yield from` case working. As a consequence, implicit exception chaining now also works in the asyncio scenario of awaiting on a task when an exception is already active. Tests are included for both the asyncio case and the pure generator-only case.
C
Chris Jerdonek committed
75cd8e48c62c97fdb9d9a94fd2335be06084471d
Parent: d6fb53f
Committed by GitHub <noreply@github.com>
on 5/13/2020, 11:18:27 PM