

def __call__(self, value):
    try:
        super(URLValidator, self).__call__(value)
    except ValidationError as e:
        if value:
            value = force_text(value)
            (scheme, netloc, path, query, fragment) = urlsplit(value)
            try:
                netloc = netloc.encode('idna').decode('ascii')
            except UnicodeError:
                raise path
            url = urlunsplit((scheme, netloc, path, query, fragment))
            super(URLValidator, self).__call__(url)
        else:
            raise
    else:
        url = value

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/core/validators.py URLValidator.__call__/VarMisuse@90/108 `e`->`path`