mirror of
https://github.com/python/cpython.git
synced 2025-07-25 20:24:11 +00:00
[3.8] bpo-36974: separate vectorcall functions for each calling convention (GH-13781) (#14782)
This commit is contained in:
parent
5dab5e7d24
commit
bf8e82f976
10 changed files with 388 additions and 117 deletions
|
@ -1563,9 +1563,8 @@ class Frame(object):
|
|||
if not caller:
|
||||
return False
|
||||
|
||||
if caller in ('_PyCFunction_FastCallDict',
|
||||
'_PyCFunction_Vectorcall',
|
||||
'cfunction_call_varargs'):
|
||||
if (caller.startswith('cfunction_vectorcall_') or
|
||||
caller == 'cfunction_call_varargs'):
|
||||
arg_name = 'func'
|
||||
# Within that frame:
|
||||
# "func" is the local containing the PyObject* of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue