Issue #26200: Restored more safe usages of Py_SETREF.