I'd like to add a new C API to allow extensions to mark objects as immortal. See https://discuss.python.org/t/add-an-unstable-c-api-for-immortalizing-objects/105461 for discussion. I'm opening this issue to link a future PR and for visibility for people who don't look at discourse regularly.
Linked PRs
I'd like to add a new C API to allow extensions to mark objects as immortal. See https://discuss.python.org/t/add-an-unstable-c-api-for-immortalizing-objects/105461 for discussion. I'm opening this issue to link a future PR and for visibility for people who don't look at discourse regularly.
Linked PRs
PyUnstable_SetImmortal#144543