Message267262
When a trace function set by sys.settrace() returns None, tracing of the current scope should stop, but this feature is not implemented (issue 11992).
Currently f_trace is never set to Py_None. Setting f_trace to Py_None in trace_trampoline() when the trace function returns Py_None provides a way to avoid the costly calls to maybe_call_line_trace() that are made for each line in this scope even though the trace function is not called. This idea was initiated in issue 20041. |
|
Date |
User |
Action |
Args |
2016-06-04 16:27:47 | xdegaye | set | recipients:
+ xdegaye, georg.brandl |
2016-06-04 16:27:47 | xdegaye | set | messageid: <1465057667.55.0.463895492434.issue27218@psf.upfronthosting.co.za> |
2016-06-04 16:27:47 | xdegaye | link | issue27218 messages |
2016-06-04 16:27:47 | xdegaye | create | |
|