Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9ad5a5 commit 80e4dbeCopy full SHA for 80e4dbe
1 file changed
Objects/genobject.c
@@ -151,6 +151,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc)
151
PyErr_NormalizeException(&exc, &val2, &tb);
152
PyException_SetCause(val2, val);
153
PyException_SetContext(val2, val);
154
+ Py_INCREF(val);
155
PyErr_Restore(exc, val2, tb);
156
}
157
0 commit comments