[Python-checkins] cpython: Backed out changeset 99c34e47348b

victor.stinner python-checkins at python.org
Fri Dec 9 12:52:08 EST 2016


https://hg.python.org/cpython/rev/7deeecfc49b3
changeset:   105560:7deeecfc49b3
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Dec 09 18:51:13 2016 +0100
summary:
  Backed out changeset 99c34e47348b

The change broke test_gdb.

files:
  Objects/genobject.c |  2 +-
  Python/ceval.c      |  4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Objects/genobject.c b/Objects/genobject.c
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -186,7 +186,7 @@
     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
diff --git a/Python/ceval.c b/Python/ceval.c
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4069,7 +4069,7 @@
         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 @@
         Py_INCREF(*args);
         fastlocals[i] = *args++;
     }
-    result = tstate->interp->eval_frame(f,0);
+    result = PyEval_EvalFrameEx(f,0);
 
     ++tstate->recursion_depth;
     Py_DECREF(f);

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list