diff options
author | Masayuki Yamamoto <ma3yuki.8mamo10@gmail.com> | 2017-07-05 08:39:17 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-07-05 08:39:17 (GMT) |
commit | 0c3116309307ad2c7f8e2d2096612f4ab33cbb62 (patch) | |
tree | 241d41967b0c0fed43aeeed20d0ae8cfd6dd113e | |
parent | aaa917ff38f9869eeebe3bc9469bfee64089d826 (diff) | |
download | cpython-0c3116309307ad2c7f8e2d2096612f4ab33cbb62.zip cpython-0c3116309307ad2c7f8e2d2096612f4ab33cbb62.tar.gz cpython-0c3116309307ad2c7f8e2d2096612f4ab33cbb62.tar.bz2 |
bpo-30854: Fix compile error when --without-threads (#2581)
* bpo-30854: Fix compile error when --without-threads
* bpo-30854: fix news
-rw-r--r-- | Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst | 2 | ||||
-rw-r--r-- | Python/ceval.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 0000000..f75aea4 --- /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 0f6978e..59fc070 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; |