Skip to content

Commit dbe037f

Browse files
committed
Add CALL_KW specializations for calling Python async functions
Add CALL_KW_PY_ASYNC and CALL_KW_BOUND_METHOD_ASYNC, which create the coroutine directly for keyword calls of the same simple coroutine functions as the CALL_*_ASYNC specializations.
1 parent 34f11e2 commit dbe037f

18 files changed

Lines changed: 804 additions & 177 deletions

‎Include/internal/pycore_ceval.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ _PyEval_MakeCoroStackRefSteal(
424424
_PyStackRef func,
425425
_PyStackRef *args,
426426
int argcount,
427+
PyObject *kwnames,
427428
int exact_args);
428429

429430
PyAPI_FUNC(PyObject*)

‎Include/internal/pycore_opcode_metadata.h‎

Lines changed: 16 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Include/internal/pycore_uop_ids.h‎

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Include/internal/pycore_uop_metadata.h‎

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Include/opcode_ids.h‎

Lines changed: 68 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)