(self, other)
return (
            self._scheme == other._scheme and
            self._host == other._host and
            self._path == other._path and
            self._port == other._port and
            self._params == other._params and
            self._query == other._query and
            self._fragment == other._fragment)
Return true if this url is /exactly/ equal to another
Return true if this url is /exactly/ equal to another
Return true if this url is / exactly / equal to another
def __eq__(self, other):
        '''Return true if this url is /exactly/ equal to another'''
        if isinstance(other, basestring):
            return self.__eq__(self.parse(other, 'utf-8'))
        return (
            self._scheme == other._scheme and
            self._host == other._host and
            self._path == other._path and
            self._port == other._port and
            self._params == other._params and
            self._query == other._query and
            self._fragment == other._fragment)
def __eq__ ( self , other ) : if isinstance ( other , basestring ) : return self . __eq__ ( self . parse ( other , 'utf-8' ) ) return ( self . _scheme == other . _scheme and self . _host == other . _host and self . _path == other . _path and self . _port == other . _port and self . _params == other . _params and self . _query == other . _query and self . _fragment == other . _fragment )