Message267262
| Author |
xdegaye |
| Recipients |
georg.brandl, xdegaye |
| Date |
2016年06月04日.16:27:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1465057667.55.0.463895492434.issue27218@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|