GH-100762: Don't call `gen.throw()` in `gen.close()`, unless necessary. (GH-101013)
* Store exception stack depth in YIELD_VALUE's oparg and use it avoid expensive gen.throw() in gen.close() where possible.
M
Mark Shannon committed
f02fa64bf2d03ef7a28650c164e17a5fb5d8543d
Parent: daec3a4
Committed by GitHub <noreply@github.com>
on 1/24/2023, 5:25:37 PM