(failure)
Extract exc_info from Failure instances
Extract exc_info from Failure instances
Extract exc_info from Failure instances
def failure_to_exc_info(failure):
    """Extract exc_info from Failure instances"""
    if isinstance(failure, Failure):
        return (failure.type, failure.value, failure.getTracebackObject())
def failure_to_exc_info ( failure ) : if isinstance ( failure , Failure ) : return ( failure . type , failure . value , failure . getTracebackObject ( ) )