summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-11-24 21:33:49 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-11-24 21:33:49 (GMT)
commited6de7345e7bc85e12da6e72f86ab69b2fd8c2dd (patch)
treeee41bc5ae45f5c888a4201f20d7f3a390fb70cfd /Python
parentfbff9b3f0453c312de1c8aa77324c5b72937f9ec (diff)
parentf7d199ff329f0cb68f367c7aa169e058b2ab50f4 (diff)
downloadcpython-ed6de7345e7bc85e12da6e72f86ab69b2fd8c2dd.zip
cpython-ed6de7345e7bc85e12da6e72f86ab69b2fd8c2dd.tar.gz
cpython-ed6de7345e7bc85e12da6e72f86ab69b2fd8c2dd.tar.bz2
Merge 3.6
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index b4953a9..ca9914c 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2049,6 +2049,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
f->f_stacktop = stack_pointer;
why = WHY_YIELD;
/* and repeat... */
+ assert(f->f_lasti >= (int)sizeof(_Py_CODEUNIT));
f->f_lasti -= sizeof(_Py_CODEUNIT);
goto fast_yield;
}