mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
Backed out changeset 99c34e47348b
The change broke test_gdb.
This commit is contained in:
parent
22f18750a5
commit
59a73276e9
2 changed files with 3 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing)
|
||||||
f->f_back = tstate->frame;
|
f->f_back = tstate->frame;
|
||||||
|
|
||||||
gen->gi_running = 1;
|
gen->gi_running = 1;
|
||||||
result = tstate->interp->eval_frame(f, exc);
|
result = PyEval_EvalFrameEx(f, exc);
|
||||||
gen->gi_running = 0;
|
gen->gi_running = 0;
|
||||||
|
|
||||||
/* Don't keep the reference to f_back any longer than necessary. It
|
/* Don't keep the reference to f_back any longer than necessary. It
|
||||||
|
|
|
||||||
|
|
@ -4069,7 +4069,7 @@ _PyEval_EvalCodeWithName(PyObject *_co, PyObject *globals, PyObject *locals,
|
||||||
return gen;
|
return gen;
|
||||||
}
|
}
|
||||||
|
|
||||||
retval = tstate->interp->eval_frame(f, 0);
|
retval = PyEval_EvalFrameEx(f,0);
|
||||||
|
|
||||||
fail: /* Jump here from prelude on failure */
|
fail: /* Jump here from prelude on failure */
|
||||||
|
|
||||||
|
|
@ -4822,7 +4822,7 @@ _PyFunction_FastCall(PyCodeObject *co, PyObject **args, Py_ssize_t nargs,
|
||||||
Py_INCREF(*args);
|
Py_INCREF(*args);
|
||||||
fastlocals[i] = *args++;
|
fastlocals[i] = *args++;
|
||||||
}
|
}
|
||||||
result = tstate->interp->eval_frame(f,0);
|
result = PyEval_EvalFrameEx(f,0);
|
||||||
|
|
||||||
++tstate->recursion_depth;
|
++tstate->recursion_depth;
|
||||||
Py_DECREF(f);
|
Py_DECREF(f);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue