Skip to content

Commit

Permalink
debug build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
eendebakpt committed Dec 22, 2024
1 parent 1d5b2e0 commit cfb9120
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Objects/longobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -3649,7 +3649,9 @@ long_dealloc(PyObject *self)
*
* See PEP 683, section Accidental De-Immortalizing for details
*/
#ifndef Py_GIL_DISABLED
_Py_SetImmortal(self);
#endif
return;
}
if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
Expand Down

0 comments on commit cfb9120

Please sign in to comment.