]> granicus.if.org Git - python/commit
bpo-31344: Per-frame control of trace events (GH-3417)
authorNick Coghlan <ncoghlan@gmail.com>
Fri, 8 Sep 2017 00:14:16 +0000 (10:14 +1000)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2017 00:14:16 +0000 (10:14 +1000)
commit5a8516701f5140c8c989c40e261a4f4e20e8af86
treece7c8c4d443132b27203a834904469458191a154
parent2eb0cb4787d02d995a9bb6dc075983792c12835c
bpo-31344: Per-frame control of trace events (GH-3417)

f_trace_lines: enable/disable line trace events
f_trace_opcodes: enable/disable opcode trace events

These are intended primarily for testing of the interpreter
itself, as they make it much easier to emulate signals
arriving at unfortunate times.
Doc/library/sys.rst
Doc/reference/datamodel.rst
Doc/whatsnew/3.7.rst
Include/frameobject.h
Include/pystate.h
Lib/test/test_sys.py
Lib/test/test_sys_settrace.py
Misc/NEWS.d/next/Core and Builtins/2017-09-06-20-25-47.bpo-31344.XpFs-q.rst [new file with mode: 0644]
Objects/frameobject.c
Python/ceval.c
Python/sysmodule.c