Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Oct 11, 2021

Add _PyVectorcall_Call() helper function.

Add "assert(PyCallable_Check(callable));" to PyVectorcall_Call(),
similar check than PyVectorcall_Function().

https://bugs.python.org/issue45439

Add _PyVectorcall_Call() helper function.

Add "assert(PyCallable_Check(callable));" to PyVectorcall_Call(),
similar check than PyVectorcall_Function().
@vstinner vstinner requested a review from markshannon as a code owner October 11, 2021 21:54
@vstinner vstinner merged commit fb8f208 into python:main Oct 11, 2021
@vstinner vstinner deleted the call branch October 11, 2021 22:18
@vstinner vstinner changed the title _PyObject_Call() only checks tp_vectorcall_offset once bpo-45439: _PyObject_Call() only checks tp_vectorcall_offset once Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants