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
Many functions in dictobject.c take a PyInterpreterState *interp parameter, but none of them use it. #142890
Activity
kumaraditya303 commentedon Dec 17, 2025
I had removed the redundant ones in #136673, the rest of functions need to it to call
_PyDict_NotifyEvent. In which functions is it unused?colesbury commentedon Dec 17, 2025
It looks like
_PyDict_NotifyEventdoesn't use theinterpargument, so we can probably remove it there too.kumaraditya303 commentedon Dec 18, 2025
#142923 removes it from rest of dict functions and
_PyDict_NotifyEvent.gh-142890: remove unnecessary interp parameter from dict functions an…
pythongh-142890: remove unnecessary interp parameter from dict functi…