]> granicus.if.org Git - vim/commitdiff
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL v8.2.0354
authorBram Moolenaar <Bram@vim.org>
Wed, 4 Mar 2020 21:06:07 +0000 (22:06 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 4 Mar 2020 21:06:07 +0000 (22:06 +0100)
Problem:    Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution:   Remove it, it was only for debugging.

src/if_python3.c
src/version.c

index 6e4b81acd0e4a8e7b77869efc0e1f8d9103046c4..2985e9c894b408a5875a365efe21262c3a4bcaac 100644 (file)
@@ -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
index 64e8d51abaaae60105e40d25ed9a1feadb0dbe0f..1cbe9e298a75f7f994b06c6e648e2d12f160cf8e 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    354,
 /**/
     353,
 /**/