(self)
| 1116 | return _cache |
| 1117 | |
| 1118 | def get_thread_local_trace_func(self): |
| 1119 | try: |
| 1120 | thread_trace_func = self._local_thread_trace_func.thread_trace_func |
| 1121 | except AttributeError: |
| 1122 | thread_trace_func = self.trace_dispatch |
| 1123 | return thread_trace_func |
| 1124 | |
| 1125 | def enable_tracing(self, thread_trace_func=None, apply_to_all_threads=False): |
| 1126 | """ |
no outgoing calls
no test coverage detected