def deliver(obj, conn):
 if isproxy(obj):
  raise TypeError("can't deliver proxies")
 if orig_isinstance(obj, function):
  globals = conn.remote_conn._local_namespace
  dumped = _dump_function(obj)
  return conn.modules[__name__]._load_function(dumped, globals)
 else:
  return conn.modules.cPickle.loads(pickle.dumps(obj, pickle.HIGHEST_PROTOCOL))

def deliver ( obj , conn ) : if isproxy ( obj ) : raise TypeError ( "can't deliver proxies" ) if orig_isinstance ( obj , function ) : globals = conn . remote_conn . _local_namespace dumped = _dump_function ( obj ) return conn . modules [ __name__ ] . _load_function ( dumped , globals ) else : return conn . modules . cPickle . loads ( pickle . dumps ( obj , pickle . HIGHEST_PROTOCOL ) )
delivers a local object to the other side of the connection .