The problem is not fully fixed: C extensions built with limited C API version 3.11 and newer convert immortal objects (such as None) to mortal objects (!): it should never happen, and because of that, it introduces multiple nasty bugs. See issue gh-158401.
I wrote PR gh-162120 to implemented Py_INCREF()/Py_DECREF() as function calls on all limited C API versions. So if you use Python 3.16 and target an older limited C API version, the change should work around this “objects de-immortalized” issue.
My PR only fix the issue if you use Python 3.16 to build your C extensions. It doesn’t cover all cases.