]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add NEWS entry for opcode tracing change. (GH-4045)
authorGeorge King <george.w.king@gmail.com>
Thu, 19 Oct 2017 07:41:59 +0000 (00:41 -0700)
committerNick Coghlan <ncoghlan@gmail.com>
Thu, 19 Oct 2017 07:41:59 +0000 (17:41 +1000)
Misc/NEWS.d/next/Core and Builtins/2017-10-18-19-41-12.bpo-31618.liLDiS.rst [new file with mode: 0644]

diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-10-18-19-41-12.bpo-31618.liLDiS.rst b/Misc/NEWS.d/next/Core and Builtins/2017-10-18-19-41-12.bpo-31618.liLDiS.rst
new file mode 100644 (file)
index 0000000..5a8d341
--- /dev/null
@@ -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.