mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
gh-142890: remove unnecessary interp parameter from dict functions and _PyDict_NotifyEvent (#142923)
This commit is contained in:
parent
4a8ecbad80
commit
e22c49522b
5 changed files with 46 additions and 68 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue