[issue37017] Use LOAD_METHOD optimization in CallMethod C API functions
Inada Naoki
report at bugs.python.org
Thu May 23 08:16:56 EDT 2019
Inada Naoki <songofacandy at gmail.com> added the comment:
I want to wait this until PEP 590 is implemented.
Unlike CALL_METHOD, we can not avoid prepending self.
New method signature may be like this:
PyObject_VectorCallMethod(PyObject *name, PyObject **args, Py_ssize_t nargs, PyObject *kwds);
And args[0] is self. With API like this, we can avoid prepending self.
----------
nosy: +inada.naoki
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37017>
_______________________________________
More information about the Python-bugs-list
mailing list