def wrap_info(info):
 if (info is None):
  return None
 else:
  traceback = info[2]
  assert isinstance(traceback, types.TracebackType)
  traceback_id = id(traceback)
  tracebacktable[traceback_id] = traceback
  modified_info = (info[0], info[1], traceback_id)
  return modified_info

def wrap_info ( info ) : if ( info is None ) : return None else : traceback = info [ 2 ] assert isinstance ( traceback , types . TracebackType ) traceback_id = id ( traceback ) tracebacktable [ traceback_id ] = traceback modified_info = ( info [ 0 ] , info [ 1 ] , traceback_id ) return modified_info
replace info[2] .