Commit Graph

4 Commits

Author SHA1 Message Date
Jeong, YunWon
dd6cf74fd7 Implement trace/profile events and opcode tracing for generators (#7268)
- Add TraceEvent::Exception and Opcode variants with profile filtering
- Extract dispatch_traced_frame helper for Call/Return trace events
- Fire exception trace on new raises, SEND StopIteration, FOR_ITER StopIteration
- Fire opcode trace events gated by f_trace_opcodes
- Move prev_line to FrameState for persistence across generator suspend/resume
- Reset prev_line in gen_throw for correct LINE monitoring after yield
- Add per-code event mask (events_for_code) to prevent unrelated code instrumentation
- Remove expectedFailure markers from test_bdb (5) and test_sys_setprofile (14)
2026-03-01 13:18:37 +09:00
Jeong, YunWon
ad6e965ad3 apply tests 2026-02-11 16:50:23 +09:00
Padraic Fanning
930fbb0df6 Mark erroring tests 2021-05-16 13:50:34 -04:00
Padraic Fanning
73afb9d267 Add test_sys_setprofile from CPython 3.8 2021-05-16 13:50:34 -04:00