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
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.
I propose adding the following static inline function to the internal C API:
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.See also #103906 and #123972.
Linked PRs
The text was updated successfully, but these errors were encountered: