mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
indicate we're not running as we leave this block
This commit is contained in:
parent
099a78fe6d
commit
9fc309083a
1 changed files with 1 additions and 0 deletions
|
|
@ -356,6 +356,7 @@ gen_throw(PyGenObject *gen, PyObject *args)
|
||||||
PyErr_Clear();
|
PyErr_Clear();
|
||||||
Py_DECREF(yf);
|
Py_DECREF(yf);
|
||||||
gen_undelegate(gen);
|
gen_undelegate(gen);
|
||||||
|
gen->gi_running = 0;
|
||||||
goto throw_here;
|
goto throw_here;
|
||||||
}
|
}
|
||||||
ret = PyObject_CallObject(meth, args);
|
ret = PyObject_CallObject(meth, args);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue