twisted.manhole PB service implementation.

Class FakeStdIO No class docstring; 1/4 methods documented
Interface IManholeClient No interface docstring; 3/3 methods documented
Function runInConsole Run this, directing all output to the specified console.
Class Perspective No class docstring; 7/13 methods documented
Class Realm Undocumented
Class Service No class docstring; 1/2 methods documented
Function _failureOldStyle Pre-Failure manhole representation of exceptions.
def runInConsole(command, console, globalNS=None, localNS=None, filename=None, args=None, kw=None, unsafeTracebacks=False): (source)

Run this, directing all output to the specified console.

If command is callable, it will be called with the args and keywords provided. Otherwise, command will be compiled and eval'd. (Wouldn't you like a macro?)

Returns the command's return value.

The console is called with a list of (type, message) pairs for display, see IManholeClient.console.

def _failureOldStyle(fail): (source)

Pre-Failure manhole representation of exceptions.

For compatibility with manhole clients without the "Failure" capability.

A dictionary with two members:

  • 'traceback' -- traceback.extract_tb output; a list of tuples (filename, line number, function name, text) suitable for feeding to traceback.format_list.
  • 'exception' -- a list of one or more strings, each ending in a newline. (traceback.format_exception_only output)
API Documentation for Twisted, generated by pydoctor at 2015-05-24 20:04:00.