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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user