Repository navigation
Commit 34f11e2
committed
Add CALL specializations for calling Python async functions
Add CALL_PY_ASYNC_EXACT_ARGS, CALL_PY_ASYNC_GENERAL,
CALL_BOUND_METHOD_ASYNC_EXACT_ARGS and CALL_BOUND_METHOD_ASYNC_GENERAL.
They apply to coroutine functions whose code starts with
RETURN_GENERATOR; POP_TOP, and create the coroutine object directly
instead of pushing a frame and executing RETURN_GENERATOR. The new
coroutine's frame is left at the POP_TOP, as RETURN_GENERATOR leaves it.1 parent 31146df commit 34f11e2
20 files changed
Lines changed: 1574 additions & 197 deletions
File tree
- Include
- internal
- Lib
- test
- Modules/_testinternalcapi
- Objects
- Python
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
421 | 429 | | |
422 | 430 | | |
423 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments