commit | fb8f208a4ddb38eedee71f9ecd0f22058802dab1 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Oct 12 00:18:26 2021 +0200 |
committer | GitHub <noreply@github.com> | Tue Oct 12 00:18:26 2021 +0200 |
tree | 5968ef94c8b27221c2e1fba4e1c27e5b3c8e6053 | |
parent | 61190e092b8258ede92ac543bb39bad0f7168104 [diff] |
bpo-45439: _PyObject_Call() only checks tp_vectorcall_offset once (GH-28890) Add _PyVectorcall_Call() helper function. Add "assert(PyCallable_Check(callable));" to PyVectorcall_Call(), similar check than PyVectorcall_Function().