mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
GH-90230: Add stats to breakdown the origin of calls to PyEval_EvalFrame (GH-93284)
This commit is contained in:
parent
8995177030
commit
bbcf42449e
13 changed files with 63 additions and 11 deletions
|
|
@ -1677,6 +1677,7 @@ property_descr_set(PyObject *self, PyObject *obj, PyObject *value)
|
|||
res = PyObject_CallOneArg(func, obj);
|
||||
}
|
||||
else {
|
||||
EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
|
||||
PyObject *args[] = { obj, value };
|
||||
res = PyObject_Vectorcall(func, args, 2, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue