mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
bpo-36974: separate vectorcall functions for each calling convention (GH-13781)
This commit is contained in:
parent
6e43d07324
commit
0d722f3cd6
10 changed files with 384 additions and 115 deletions
|
@ -1563,8 +1563,8 @@ class Frame(object):
|
|||
if not caller:
|
||||
return False
|
||||
|
||||
if caller in ('_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