Skip to content

Commit 05a634b

Browse files
gwkncoghlan
authored andcommitted
Add NEWS entry for opcode tracing change. (GH-4045)
1 parent 24c4d04 commit 05a634b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The per-frame tracing logic added in 3.7a1 has been altered so that
2+
``frame->f_lineno`` is updated before either ``"line"`` or ``"opcode"``
3+
events are emitted. Previously, opcode events were emitted first, and
4+
therefore would occasionally see stale line numbers on the frame. The
5+
behavior of this feature has changed slightly as a result: when both
6+
``f_trace_lines`` and ``f_trace_opcodes`` are enabled, line events now occur
7+
first.

0 commit comments

Comments
 (0)