Open
Description
The problem is that PEP 523 frame evaluators are called before the frame is complete, and PyEval_EvalFrame() skips incomplete frames.
Perhaps PyEval_EvalFrame() should only be called after the frame is complete.
This is a subtle change to semantics from 3.11, but is closer to 3.10 and previous behavior.
We could implement this efficiently, using the instrumentation mechanism of PEP 669, dedicating tool ID 5 to PEP 523.