(one, two)
return unbool(one) == unbool(two)
Check if two things are equal evading some Python type hierarchy semantics.

    Specifically in JSON Schema, evade `bool` inheriting from `int`,
    recursing into sequences to do the same.
Check if two things are equal evading some Python type hierarchy semantics.
Check if two things are equal evading some Python type hierarchy semantics .
def equal(one, two):
    """
    Check if two things are equal evading some Python type hierarchy semantics.

    Specifically in JSON Schema, evade `bool` inheriting from `int`,
    recursing into sequences to do the same.
    """
    if isinstance(one, str) or isinstance(two, str):
        return one == two
    if isinstance(one, Sequence) and isinstance(two, Sequence):
        return _sequence_equal(one, two)
    if isinstance(one, Mapping) and isinstance(two, Mapping):
        return _mapping_equal(one, two)
    return unbool(one) == unbool(two)
def equal ( one , two ) : if isinstance ( one , str ) or isinstance ( two , str ) : return one == two if isinstance ( one , Sequence ) and isinstance ( two , Sequence ) : return _sequence_equal ( one , two ) if isinstance ( one , Mapping ) and isinstance ( two , Mapping ) : return _mapping_equal ( one , two ) return unbool ( one ) == unbool ( two )