SIGN IN SIGN UP

bpo-29735: Optimize partial_call(): avoid tuple (#516)

* Add _PyObject_HasFastCall()
* partial_call() now avoids temporary tuple to pass positional
  arguments if the callable supports the FASTCALL calling convention
  for positional arguments.
* Fix also a performance regression in partial_call() if the callable
  doesn't support FASTCALL.
V
Victor Stinner committed
0f7b0b397e12514ee213bc727c9939b66585cbe2
Parent: d4914e9
Committed by GitHub <noreply@github.com> on 3/14/2017, 8:37:20 PM