mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
gh-106023: Update code using _PyObject_FastCall() (#106257)
Replace _PyObject_FastCall() calls with PyObject_Vectorcall().
This commit is contained in:
parent
e7bc8d1636
commit
8c5f74fc89
10 changed files with 434 additions and 453 deletions
|
@ -268,7 +268,7 @@ sys_audit_tstate(PyThreadState *ts, const char *event,
|
|||
PyThreadState_LeaveTracing(ts);
|
||||
}
|
||||
PyObject* args[2] = {eventName, eventArgs};
|
||||
o = _PyObject_FastCallTstate(ts, hook, args, 2);
|
||||
o = _PyObject_VectorcallTstate(ts, hook, args, 2, NULL);
|
||||
if (canTrace) {
|
||||
PyThreadState_EnterTracing(ts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue