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
[C API] Add _Py_NewImmortalRef() function to the internal C API #124074
It's a way to annotate the code to express that a strong reference is expected, but we also know that the object is immortal and so calling Py_INCREF() is not needed.
Activity
pythongh-124074: Add _Py_NewImmortalRef() function
vstinner commentedon Sep 17, 2024
I abandon this approach: #124076 (comment)