Add NEWS entry for opcode tracing change. (GH-4045)

This commit is contained in:
George King 2017-10-19 00:41:59 -07:00 • committed by Nick Coghlan
parent 24c4d046c4
commit 05a634b12a

View file

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