<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_url_equal(url, other_url):
 # type: (str, str) -> bool """ Compare two urls by scheme, host, and path, ignoring auth :param str url: The initial URL to compare :param str url: Second url to compare to the first :return: Whether the URLs are equal without **auth**, **query**, and **fragment** :rtype: bool "https://user2:pass2@mydomain.com/some/path") True "https://mydomain.com/some?some_query") False """

    if not isinstance(url, six.string_types):
        raise TypeError("Expected string for url, received {0!r}".format(url))
    if not isinstance(other_url, six.string_types):
        raise TypeError("Expected string for url, received {0!r}".format(other_url))
    parsed_url = urllib3_util.parse_url(url)
    parsed_other_url = urllib3_util.parse_url(other_url)
    unparsed = parsed_url._replace(auth=None, query=None, fragment=None).url
    unparsed_other = parsed_other_url._replace(auth=None, query=None, fragment=None).url
    return unparsed == unparsed_other