summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-12-09 17:51:13 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-12-09 17:51:13 (GMT)
commit59a73276e9440e6227f28189f75b8fe1e1f2b167 (patch)
tree5036025e142cf610a793f25f251f8895d4ba274c /Python
parent22f18750a53b0f95b27c83c822ee2f44ea5f6495 (diff)
downloadcpython-59a73276e9440e6227f28189f75b8fe1e1f2b167.zip
cpython-59a73276e9440e6227f28189f75b8fe1e1f2b167.tar.gz
cpython-59a73276e9440e6227f28189f75b8fe1e1f2b167.tar.bz2
Backed out changeset 99c34e47348b
The change broke test_gdb.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index c4507fb..c6c6e05 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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);