Inserting shim frames simplifies RETURN_VALUE, YIELD_VALUE and RETURN_GENERATOR and enables for to be specialized for generators, and await to be specialized for coroutines.
* Adds EXIT_INTERPRETER instruction to exit PyEval_EvalDefault()
* Simplifies RETURN_VALUE, YIELD_VALUE and RETURN_GENERATOR instructions as they no longer need to check for entry frames.
markshannon commentedAug 30, 2022
•
edited by bedevere-bot
Inserting shim frames simplifies
RETURN_VALUE,YIELD_VALUEandRETURN_GENERATORand enablesforto be specialized for generators, andawaitto be specialized for coroutines.See faster-cpython/ideas#436 for full discussion
The text was updated successfully, but these errors were encountered: