Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit c191d9f

Browse files
author
Anselm Kruis
committed
Stackless issue #133: fix Python/ceval.c
Add Stackless support for opcode CALL_METHOD.
1 parent d7ac01f commit c191d9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Python/ceval.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3509,6 +3509,12 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
35093509
res = call_function(&sp, oparg + 1, NULL);
35103510
stack_pointer = sp;
35113511
}
3512+
#ifdef STACKLESS
3513+
if (STACKLESS_UNWINDING(res)) {
3514+
retval = res;
3515+
goto stackless_call;
3516+
}
3517+
#endif
35123518

35133519
PUSH(res);
35143520
if (res == NULL)

0 commit comments

Comments
 (0)