Skip to content
Prev Previous commit
Next Next commit
Temporarily skip immortalizing.
  • Loading branch information
ericsnowcurrently committed Mar 20, 2023
commit d36f11922b05d582ccc13b77defc49e3ba4e8ff5
3 changes: 2 additions & 1 deletion Objects/unicodeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -14673,7 +14673,8 @@ PyUnicode_InternInPlace(PyObject **p)
}

/* Immortalize the object. */
_Py_SetImmortal(s);
// XXX Uncomment this once the PEP 683 implementation has landed.
//_Py_SetImmortal(s);

/* The two references in interned dict (key and value) are not counted by
refcnt. unicode_dealloc() and _PyUnicode_ClearInterned() take care of
Expand Down