From: Bram Moolenaar Date: Wed, 4 Mar 2020 21:06:07 +0000 (+0100) Subject: patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL X-Git-Tag: v8.2.0354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a65bb53514a1af1ec0dc5c4831dfaef69f139a48;p=vim patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal) Solution: Remove it, it was only for debugging. --- diff --git a/src/if_python3.c b/src/if_python3.c index 6e4b81acd..2985e9c89 100644 --- a/src/if_python3.c +++ b/src/if_python3.c @@ -603,7 +603,6 @@ static struct static inline void py3__Py_DECREF(const char *filename UNUSED, int lineno UNUSED, PyObject *op) { - _Py_DEC_REFTOTAL; if (--op->ob_refcnt != 0) { # ifdef Py_REF_DEBUG diff --git a/src/version.c b/src/version.c index 64e8d51ab..1cbe9e298 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 354, /**/ 353, /**/