Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py/runtime: Fix handling of throw() when resuming generator.
If GeneratorExit is injected as a throw-value then that should lead to the close() method being called, if it exists. If close() does not exist then throw() should not be called, and this patch fixes this.
- Loading branch information