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

STINNER Victor report at bugs.python.org
Fri Feb 10 04:00:45 EST 2017


STINNER Victor 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.

I'm more interested by an optimization PyObject_CallMethod*() for any number of arguments, as done in typeobject.c ;-)

----------

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


More information about the Python-bugs-list mailing list