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 }}
Static PyModuleDef Objects Should be Immortal #101755
We'd likely do this via PyModuleDef_HEAD_INIT, either directly or indirectly. The indirection might be necessary as PyModuleDef_HEAD_INIT is part of the public C-API, but _PyObject_IMMORTAL_REFCNT is not.
We'd likely do this via
PyModuleDef_HEAD_INIT, either directly or indirectly. The indirection might be necessary asPyModuleDef_HEAD_INITis part of the public C-API, but_PyObject_IMMORTAL_REFCNTis not.CC @eduardo-elizondo