File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -3627,13 +3627,11 @@ void
36273627_PyLong_ExactDealloc (PyObject * self )
36283628{
36293629 assert (PyLong_CheckExact (self ));
3630- #ifndef Py_GIL_DISABLED
36313630 if (_long_is_small_int (self )) {
36323631 // See PEP 683, section Accidental De-Immortalizing for details
36333632 _Py_SetImmortal (self );
36343633 return ;
36353634 }
3636- #endif
36373635 if (_PyLong_IsCompact ((PyLongObject * )self )) {
36383636 _Py_FREELIST_FREE (ints , self , PyObject_Free );
36393637 return ;
@@ -3644,7 +3642,6 @@ _PyLong_ExactDealloc(PyObject *self)
36443642static void
36453643long_dealloc (PyObject * self )
36463644{
3647- #ifndef Py_GIL_DISABLED
36483645 if (_long_is_small_int (self )) {
36493646 /* This should never get called, but we also don't want to SEGV if
36503647 * we accidentally decref small Ints out of existence. Instead,
@@ -3655,7 +3652,6 @@ long_dealloc(PyObject *self)
36553652 _Py_SetImmortal (self );
36563653 return ;
36573654 }
3658- #endif
36593655 if (PyLong_CheckExact (self ) && _PyLong_IsCompact ((PyLongObject * )self )) {
36603656 _Py_FREELIST_FREE (ints , self , PyObject_Free );
36613657 return ;
You can’t perform that action at this time.
0 commit comments