From e3a0ff0d76b9e7a994afa7f2c54b19a63f1bb57d Mon Sep 17 00:00:00 2001 From: Masayuki Yamamoto Date: Wed, 5 Jul 2017 18:24:46 +0900 Subject: [PATCH] [3.6] bpo-30854: Fix compile error when --without-threads (GH-2581) (#2583) * bpo-30854: Fix compile error when --without-threads * bpo-30854: fix news (cherry picked from commit 0c3116309307ad2c7f8e2d2096612f4ab33cbb62) --- Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst | 2 ++ Python/ceval.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst diff --git a/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst b/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst new file mode 100644 index 0000000000..f75aea420a --- /dev/null +++ b/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst @@ -0,0 +1,2 @@ +Fix compile error when compiling --without-threads. +Patch by Masayuki Yamamoto. diff --git a/Python/ceval.c b/Python/ceval.c index bf9103dd9a..770dfcba89 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -621,7 +621,7 @@ Py_MakePendingCalls(void) arg = pendingcalls[i].arg; pendingfirst = (i + 1) % NPENDINGCALLS; if (func(arg) < 0) { - goto error: + goto error; } } busy = 0; -- 2.50.1