From dc18fe0a2f2581b11aa0896f9be69733fac5ad47 Mon Sep 17 00:00:00 2001 From: Masayuki Yamamoto Date: Wed, 5 Jul 2017 16:55:10 +0900 Subject: [PATCH 1/2] bpo-30854: Fix compile error when --without-threads --- Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst | 1 + Python/ceval.c | 2 +- 2 files changed, 2 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 00000000000000..369b7259712113 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst @@ -0,0 +1 @@ +Fix compile error when --without-threads diff --git a/Python/ceval.c b/Python/ceval.c index 0f6978e569ef6e..59fc070f9e7ebd 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -548,7 +548,7 @@ Py_MakePendingCalls(void) arg = pendingcalls[i].arg; pendingfirst = (i + 1) % NPENDINGCALLS; if (func(arg) < 0) { - goto error: + goto error; } } busy = 0; From dc73528472148d345a26e2250cb4fc2e9ce9e4c9 Mon Sep 17 00:00:00 2001 From: Masayuki Yamamoto Date: Wed, 5 Jul 2017 17:22:35 +0900 Subject: [PATCH 2/2] bpo-30854: fix news --- .../NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 index 369b7259712113..f75aea420ad5dd 100644 --- 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 @@ -1 +1,2 @@ -Fix compile error when --without-threads +Fix compile error when compiling --without-threads. +Patch by Masayuki Yamamoto.