commit | 9fc309083ac893619604502fb68136bbc90983b4 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Mar 07 18:11:31 2012 -0600 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Mar 07 18:11:31 2012 -0600 |
tree | a889f74d05ca5d7eb477829c17307bfdcb7fc1df | |
parent | 099a78fe6d0a4c20126497940529d2b1fd41c5de [diff] |
indicate we're not running as we leave this block
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 @@ PyErr_Clear(); Py_DECREF(yf); gen_undelegate(gen); + gen->gi_running = 0; goto throw_here; } ret = PyObject_CallObject(meth, args);