Open
Description
Feature or enhancement
Proposal:
The existence of tp_is_gc
slows down and complicates allocation, deallocation and garbage collection.
But there is no need for it, as statically allocated objects can be marked as immortal as will be ignored by the GC.
I doubt there is much third-party code that uses it, if any.
We should deprecate it, and then remove it.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response