]> granicus.if.org Git - python/commit
Argument Clinic: Use METH_FASTCALL for positionals
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 17 Jan 2017 00:42:54 +0000 (01:42 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 17 Jan 2017 00:42:54 +0000 (01:42 +0100)
commit0c8c3893ae29fab8ce9db0c2f5b52acbe89032e1
tree86e701e8cde526f18fc8b6323dafd2ea2c2d457b
parent998c20962ca3e2e693c1635efe76c0144dde76fc
Argument Clinic: Use METH_FASTCALL for positionals

Issue #29286. Use METH_FASTCALL calling convention instead of METH_VARARGS to
parse position arguments. METH_FASTCALL is faster since it avoids the creation
of a temporary tuple to pass positional arguments.
Tools/clinic/clinic.py