(frame)
| 64 | |
| 65 | |
| 66 | def make_frame_proxy(frame): |
| 67 | proxy = TracebackFrameProxy(frame) |
| 68 | if tproxy is None: |
| 69 | return proxy |
| 70 | def operation_handler(operation, *args, **kwargs): |
| 71 | if operation in ('__getattribute__', '__getattr__'): |
| 72 | return getattr(proxy, args[0]) |
| 73 | elif operation == '__setattr__': |
| 74 | proxy.__setattr__(*args, **kwargs) |
| 75 | else: |
| 76 | return getattr(proxy, operation)(*args, **kwargs) |
| 77 | return tproxy(TracebackType, operation_handler) |
| 78 | |
| 79 | |
| 80 | class ProcessedTraceback(object): |
no test coverage detected
searching dependent graphs…