gh-142890: remove unnecessary interp parameter from dict functions and _PyDict_NotifyEvent (#142923)

This commit is contained in:
Kumar Aditya 2025-12-18 22:48:56 +05:30 committed by GitHub
parent 4a8ecbad80
commit e22c49522b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 46 additions and 68 deletions

View file

@ -2628,7 +2628,7 @@ dummy_func(
UNLOCK_OBJECT(dict);
DEOPT_IF(true);
}
_PyDict_NotifyEvent(tstate->interp, PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
_PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
FT_ATOMIC_STORE_PTR_RELEASE(ep->me_value, PyStackRef_AsPyObjectSteal(value));
UNLOCK_OBJECT(dict);