mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Add NEWS entry for opcode tracing change. (GH-4045)
This commit is contained in:
parent
24c4d046c4
commit
05a634b12a
1 changed files with 7 additions and 0 deletions
|
|
@ -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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue