mirror of https://github.com/python/cpython
Backed out changeset 99c34e47348b
The change broke test_gdb.
This commit is contained in:
parent
22f18750a5
commit
59a73276e9
|
@ -186,7 +186,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing)
|
|||
f->f_back = tstate->frame;
|
||||
|
||||
gen->gi_running = 1;
|
||||
result = tstate->interp->eval_frame(f, exc);
|
||||
result = PyEval_EvalFrameEx(f, exc);
|
||||
gen->gi_running = 0;
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
retval = tstate->interp->eval_frame(f, 0);
|
||||
retval = PyEval_EvalFrameEx(f,0);
|
||||
|
||||
fail: /* Jump here from prelude on failure */
|
||||
|
||||
|
@ -4822,7 +4822,7 @@ _PyFunction_FastCall(PyCodeObject *co, PyObject **args, Py_ssize_t nargs,
|
|||
Py_INCREF(*args);
|
||||
fastlocals[i] = *args++;
|
||||
}
|
||||
result = tstate->interp->eval_frame(f,0);
|
||||
result = PyEval_EvalFrameEx(f,0);
|
||||
|
||||
++tstate->recursion_depth;
|
||||
Py_DECREF(f);
|
||||
|
|
Loading…
Reference in New Issue