commit | 093119e4eb8424451ef24a5a5a3ce9881d77abd5 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Jan 17 02:35:41 2017 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Jan 17 02:35:41 2017 +0100 |
tree | cfd621572f359d8e9ca23d74b4b262943e42a4e3 | |
parent | fe54dd8a08b171c20bafe0759c17464a2642030d [diff] |
Argument Clinic: Use METH_FASTCALL for boring positionals 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().