[issue39773] Export symbols for vectorcall

Petr Viktorin report at bugs.python.org
Tue Mar 3 11:10:58 EST 2020


Petr Viktorin <encukou at gmail.com> added the comment:

Yes. Can you use PyObject_Call instead (or one of the non-Vectorcall variants listed in https://docs.python.org/3.9/c-api/call.html#object-calling-api )

Vectorcall is mainly a speed optimization over PyObject_Call. We want to allow the C compiler to inline PyObject_Vectorcall whenever it is used.
That can be done with static functions or macros, which does unfortunately mean that the symbol is not exported.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39773>
_______________________________________


More information about the Python-bugs-list mailing list