]> granicus.if.org Git - python/commit
Avoid call_function_tail() for empty format str
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 19 Aug 2016 15:04:54 +0000 (17:04 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 19 Aug 2016 15:04:54 +0000 (17:04 +0200)
commit0d1a799343dd956c8e4a1d6e0ac3fa9ac007704e
tree40c101a07f811975f038c1ff9770d2c4474b5765
parent71aea8e98176c333a8fc4710b3765d72ea6b04c5
Avoid call_function_tail() for empty format str

Issue #27128, PyObject_CallFunction(), _PyObject_FastCall() and callmethod():
if the format string of parameters is empty, avoid the creation of an empty
tuple: call _PyObject_FastCall() without parameters.
Objects/abstract.c