Merge 3.6

This commit is contained in:
Victor Stinner 2016-11-24 22:33:49 +01:00
commit ed6de7345e
3 changed files with 14 additions and 0 deletions

View file

@ -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;
}