code: def fromurl(url):
    
    ps = PatchSet( urllib_request.urlopen(url) )
    if ps.errors == 0:
      return ps
    return False
docs: Parse patch from an URL, return False
        if an error occured. Note that this also
        can throw urlopen() exceptions.