• Victor Stinner's avatar
    Argument Clinic: Use METH_FASTCALL for boring positionals · 093119e4
    Victor Stinner authored
    Issue #29286. Use METH_FASTCALL calling convention instead of METH_VARARGS to
    parse "boring" position arguments. METH_FASTCALL is faster since it avoids the
    creation of a temporary tuple to pass positional arguments.
    
    Replace PyArg_UnpackTuple() with _PyArg_UnpackStack()+_PyArg_NoStackKeywords().
    093119e4
clinic.py 150 KB