portage.debug module¶
- class portage.debug.prefix_trimmer(prefix)¶
Bases:
object
- trim(s)¶
Remove a prefix from the string and return the result. The previous result is automatically cached.
- portage.debug.set_trace(on=True)¶
- class portage.debug.trace_handler¶
Bases:
object
- arg_repr(_frame, event, arg)¶
- event_handler(*args)¶
- ignore_filename(filename)¶
- locals_repr(frame, _event, _arg)¶
Create a representation of the locals dict that is suitable for tracing output.
- trace_event(frame, event, arg)¶
- trace_line(frame, _event, _arg)¶