Skip to content

Commit cfb9120

Browse files
committed
debug build failure
1 parent 1d5b2e0 commit cfb9120

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Objects/longobject.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,7 +3649,9 @@ long_dealloc(PyObject *self)
36493649
*
36503650
* See PEP 683, section Accidental De-Immortalizing for details
36513651
*/
3652+
#ifndef Py_GIL_DISABLED
36523653
_Py_SetImmortal(self);
3654+
#endif
36533655
return;
36543656
}
36553657
if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {

0 commit comments

Comments
 (0)