c.l.timeout : module documentation

Part of canonical.lazr

Helpers to time out external operations.
Function get_default_timeout_function Return the function returning the default timeout value to use.
Function set_default_timeout_function Change the function returning the default timeout value to use.
Class TimeoutError Exception raised when a function doesn't complete within time.
Class ThreadCapturingResult Thread subclass that saves the return value of its target.
Class DefaultTimeout Descriptor returning the timeout computed by the default function.
Class with_timeout Make sure the decorated function doesn't exceed a time out.
Class CleanableHTTPHandler Subclass of urllib2.HTTPHandler that can be cleaned-up.
Class URLFetcher Object fetching remote URLs with a time out.
Function urlfetch Wrapper for urllib2.urlopen() that times out.
Class TransportWithTimeout Create a HTTP transport for XMLRPC with timeouts.
Class SafeTransportWithTimeout Create a HTTPS transport for XMLRPC with timeouts.
def get_default_timeout_function():
Return the function returning the default timeout value to use.
def set_default_timeout_function(timeout_function):
Change the function returning the default timeout value to use.
def urlfetch(url, data=None):
Wrapper for urllib2.urlopen() that times out.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.