[issue29507] Use FASTCALL in call_method() to avoid temporary tuple

INADA Naoki report at bugs.python.org
Fri Feb 10 00:12:07 EST 2017


INADA Naoki added the comment:

> I'm not sure about the change on PyObject_CallMethod*() only for empty format string.

There are many place using _PyObject_CallMethodId() to call method without args.
Maybe, we should recommend to use _PyObject_CallMethodIdObjArgs() when no arguments, and replace all caller in cpython?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29507>
_______________________________________


More information about the Python-bugs-list mailing list