You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
_PyObject_XDecRefDelayed() should handle immortal objects #159431
The callers of _PyObject_XDecRefDelayed() currently check if an object is immortal. However, that's insufficient, since the object could become immortal after it's queued and before the queue is processed. That triggers an assertion failure in debug builds. In release builds the object silently becomes mortal. The check has to happen when the queue is processed.
Activity
gh-159431: Handle immortal objects in _PyObject_XDecRefDelayed() (gh-…