diff --git a/Python/ceval.c b/Python/ceval.c index 09f939ea8e5..3bd0ce62ace 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -868,7 +868,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) #define DISPATCH() \ { \ - if (!eval_breaker) { \ + if (!_Py_atomic_load_relaxed(&eval_breaker)) { \ FAST_DISPATCH(); \ } \ continue; \