0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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.
This commit is contained in:
Bram Moolenaar
2020-03-04 22:06:07 +01:00
parent d0df1aacd8
commit a65bb53514
2 changed files with 2 additions and 1 deletions

View File

@@ -603,7 +603,6 @@ static struct
static inline void static inline void
py3__Py_DECREF(const char *filename UNUSED, int lineno UNUSED, PyObject *op) py3__Py_DECREF(const char *filename UNUSED, int lineno UNUSED, PyObject *op)
{ {
_Py_DEC_REFTOTAL;
if (--op->ob_refcnt != 0) if (--op->ob_refcnt != 0)
{ {
# ifdef Py_REF_DEBUG # ifdef Py_REF_DEBUG

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
354,
/**/ /**/
353, 353,
/**/ /**/