# HG changeset patch # User Bram Moolenaar # Date 1583356503 -3600 # Node ID 1de842e3c329bc0177cf348367858f7db3f5e421 # Parent c46c0edd7859bcbe1b89fc9b1341b704ac5d33cb patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL Commit: https://github.com/vim/vim/commit/a65bb53514a1af1ec0dc5c4831dfaef69f139a48 Author: Bram Moolenaar Date: Wed Mar 4 22:06:07 2020 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 354, +/**/ 353, /**/ 352,