diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-03-08 00:11:31 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-03-08 00:11:31 (GMT) |
commit | 9fc309083ac893619604502fb68136bbc90983b4 (patch) | |
tree | a889f74d05ca5d7eb477829c17307bfdcb7fc1df /Objects | |
parent | 099a78fe6d0a4c20126497940529d2b1fd41c5de (diff) | |
download | cpython-9fc309083ac893619604502fb68136bbc90983b4.zip cpython-9fc309083ac893619604502fb68136bbc90983b4.tar.gz cpython-9fc309083ac893619604502fb68136bbc90983b4.tar.bz2 |
indicate we're not running as we leave this block
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/genobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c index e41779e..b065fc7 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -356,6 +356,7 @@ gen_throw(PyGenObject *gen, PyObject *args) PyErr_Clear(); Py_DECREF(yf); gen_undelegate(gen); + gen->gi_running = 0; goto throw_here; } ret = PyObject_CallObject(meth, args); |