There was an error while loading. Please reload this page.
1 parent c4bf588 commit 13d5be0Copy full SHA for 13d5be0
1 file changed
Include/refcount.h
@@ -158,9 +158,6 @@ static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
158
return;
159
}
160
#ifndef Py_GIL_DISABLED
161
- if (refcnt >= (Py_ssize_t)_Py_IMMORTAL_MINIMUM_REFCNT) {
162
- refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
163
- }
164
#if SIZEOF_VOID_P > 4
165
ob->ob_refcnt = (PY_UINT32_T)refcnt;
166
#else
0 commit comments