Skip to content
Snippets Groups Projects
Commit aeb26550 authored by Damien George's avatar Damien George
Browse files

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.
parent 40863fce
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment