2 ms·
That particular statement was written several years ago. In practice, the API in question boils down to letting you plug in your own implementation of PyEval_Ev
by int_19h 5y ago
That particular statement was written several years ago. In practice, the API in question boils down to letting you plug in your own implementation of PyEval_EvalFrameEx. This has already been added in Python 3.9:
https://www.python.org/dev/peps/pep-0523/ https://www.python.org/dev/peps/pep-0523/
As the PEP notes, this is useful for a lot more than just JIT. In particular, modern Python debuggers use it to dynamically patch bytecode to make breakpoints more efficient.