sbt <[email protected]> added the comment:

Why not just

    def time_independent_equals(a, b):
        return len(a) == len(b) and sum(x != y for x, y in zip(a, b)) == 0

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14532>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to