[New-bugs-announce] [issue46323] Use _PyObject_Vectorcall in Modules/_ctypes/callbacks.c

hydroflask report at bugs.python.org
Sun Jan 9 23:01:21 EST 2022


New submission from hydroflask <hydroflask at yqxmail.com>:

_CallPythonObject() in Modules/_ctypes/callbacks.c still uses the old API (PyObject_CallObject()) to invoke methods. It should use _PyObject_Vectorcall(). Creating an issue for this since this method is a little more performance sensitive than normal Python library code.

----------
components: ctypes
messages: 410185
nosy: hydroflask
priority: normal
severity: normal
status: open
title: Use _PyObject_Vectorcall in Modules/_ctypes/callbacks.c
type: performance
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list