[issue46323] Use _PyObject_Vectorcall in Modules/_ctypes/callbacks.c
hydroflask
report at bugs.python.org
Wed Feb 9 15:17:07 EST 2022
hydroflask <hydroflask at yqxmail.com> added the comment:
@corona10
I really hope I am not being annoying at this point :) One final nit, in this line:
https://github.com/python/cpython/pull/31224/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139dR168
You do not have to check if nargs > 0. alloca() can handle the case when nargs == 0. The usage of alloca() in callproc.c does not check for nargs > 0 either.
Otherwise thanks for this enhancement!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46323>
_______________________________________
More information about the Python-bugs-list
mailing list