We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8311e18 commit 97cf964Copy full SHA for 97cf964
Objects/object.c
@@ -401,10 +401,6 @@ _Py_ExplicitMergeRefcount(PyObject *op, Py_ssize_t extra)
401
refcnt += (Py_ssize_t)op->ob_ref_local;
402
refcnt += extra;
403
404
-#ifdef Py_REF_DEBUG
405
- _Py_AddRefTotal(_PyInterpreterState_GET(), extra);
406
-#endif
407
-
408
new_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
409
} while (!_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared,
410
&shared, new_shared));
0 commit comments