Skip to content

Commit

Permalink
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL
Browse files Browse the repository at this point in the history
Problem:    Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution:   Remove it, it was only for debugging.
  • Loading branch information
brammool committed Mar 4, 2020
1 parent d0df1aa commit a65bb53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/if_python3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
354,
/**/
353,
/**/
Expand Down

0 comments on commit a65bb53

Please sign in to comment.