diff options
author | George King <george.w.king@gmail.com> | 2017-10-19 07:41:59 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2017-10-19 07:41:59 (GMT) |
commit | 05a634b12a8207611ae8e9d051427d615fcacb69 (patch) | |
tree | 428d8c45114fbb300db6f92e7239be42fa58b4ae /Misc/NEWS.d | |
parent | 24c4d046c492d598d32982194c84db236ccf9793 (diff) | |
download | cpython-05a634b12a8207611ae8e9d051427d615fcacb69.zip cpython-05a634b12a8207611ae8e9d051427d615fcacb69.tar.gz cpython-05a634b12a8207611ae8e9d051427d615fcacb69.tar.bz2 |
Add NEWS entry for opcode tracing change. (GH-4045)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-10-18-19-41-12.bpo-31618.liLDiS.rst | 7 |
1 files changed, 7 insertions, 0 deletions
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 index 0000000..5a8d341 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-10-18-19-41-12.bpo-31618.liLDiS.rst @@ -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. |